Bjoern A. Zeeb
2b3e7485f6
Fold multiple asm statements into one so that the compiler at a certain
...
optimization level (-march=pentium-mmx for example) does not insert
intermediate ops which would trash the carry.
Change both sys/i386/i386/in_cksum.c[1] and sys/i386/include/in_cksum.h.
To my best understanding the same problem was addressed in rev. 1.16
of src/sys/i386/include/in_cksum.h for just a single function 3y ago.
Reviewed by: jhb
Submitted by: Zhouyi ZHOU <zhouzhouyi FreeBSD.org> (intial version of [1])
MFC after: 5 days
PR: 115678, 69257
2007-10-20 22:18:42 +00:00
..
2007-10-19 12:30:33 +00:00
2007-10-18 05:43:44 +00:00
2007-10-15 14:20:24 +00:00
2007-07-22 12:28:13 +00:00
2007-10-12 22:11:22 +00:00
2007-10-14 16:14:32 +00:00
2007-10-12 06:03:46 +00:00
2007-10-15 20:00:24 +00:00
2007-10-18 21:52:14 +00:00
2007-07-03 12:13:45 +00:00
2007-10-16 17:52:59 +00:00
2007-10-19 16:33:31 +00:00
2007-10-19 12:23:25 +00:00
2007-06-09 21:55:17 +00:00
2007-09-27 20:18:34 +00:00
2007-10-16 10:54:55 +00:00
2007-10-12 06:03:46 +00:00
2007-10-20 22:18:42 +00:00
2007-10-16 03:20:32 +00:00
2007-07-27 09:34:42 +00:00
2007-10-19 19:17:53 +00:00
2007-10-13 12:05:36 +00:00
2007-10-18 10:51:06 +00:00
2007-10-20 02:43:23 +00:00
2007-09-18 21:54:27 +00:00
2007-06-28 12:54:58 +00:00
2007-07-14 21:49:24 +00:00
2007-10-19 20:09:58 +00:00
2007-10-19 12:46:15 +00:00
2007-09-13 10:36:43 +00:00
2007-09-12 05:54:53 +00:00
2007-07-30 11:06:42 +00:00
2007-04-16 12:31:35 +00:00
2007-06-05 00:00:57 +00:00
2007-07-10 09:23:10 +00:00
2007-10-16 10:54:55 +00:00
2007-10-18 16:38:07 +00:00
2007-10-18 16:38:07 +00:00
2007-10-08 20:08:34 +00:00
2007-10-12 06:03:46 +00:00
2007-10-15 16:18:20 +00:00
2007-09-30 11:05:18 +00:00
2007-08-06 14:26:03 +00:00
2007-10-12 15:09:02 +00:00
2007-10-16 19:17:48 +00:00
2007-09-30 11:05:18 +00:00
2007-10-20 09:41:55 +00:00
2007-10-16 10:54:55 +00:00
2007-10-18 23:02:18 +00:00
2007-07-12 21:04:58 +00:00