cvs commit: src/sys/i386/i386 in_cksum.c src/sys/i386/include in_cksum.h

LI Xin delphij at delphij.net
Sun Oct 21 09:26:53 PDT 2007


Bjoern A. Zeeb wrote:
> bz          2007-10-20 22:18:42 UTC
> 
>   FreeBSD src repository
> 
>   Modified files:
>     sys/i386/i386        in_cksum.c 
>     sys/i386/include     in_cksum.h 
>   Log:
>   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

Thanks!

Cheers,
-- 
Xin LI <delphij at delphij.net>	http://www.delphij.net/
FreeBSD - The Power to Serve!

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 249 bytes
Desc: OpenPGP digital signature
Url : http://lists.freebsd.org/pipermail/cvs-src/attachments/20071021/a298401d/signature.pgp


More information about the cvs-src mailing list