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-18 05:43:44 +00:00
2007-10-14 16:14:32 +00:00
2007-10-15 20:00:24 +00:00
2007-10-16 17:52:59 +00:00
2007-10-16 10:54:55 +00:00
2007-10-19 20:09:58 +00:00
2007-10-16 10:54:55 +00:00
2007-10-20 09:41:55 +00:00
2007-10-16 10:54:55 +00:00