summaryrefslogtreecommitdiffstats
path: root/sys/dev/aic7xxx
diff options
context:
space:
mode:
authorbz <bz@FreeBSD.org>2007-10-20 22:18:42 +0000
committerbz <bz@FreeBSD.org>2007-10-20 22:18:42 +0000
commit830ad96079c0199720ca93a683f2a4450afac014 (patch)
tree093ff5eddd45019ddc9c6de78b09a7b98701ea38 /sys/dev/aic7xxx
parentc89ca49410c0b451c33462a27a43de462843677a (diff)
downloadFreeBSD-src-830ad96079c0199720ca93a683f2a4450afac014.zip
FreeBSD-src-830ad96079c0199720ca93a683f2a4450afac014.tar.gz
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
Diffstat (limited to 'sys/dev/aic7xxx')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud