cvs commit: src/sys/sparc64/sparc64 in_cksum.c
Marius Strobl
marius at FreeBSD.org
Sat Jul 5 15:45:06 UTC 2008
marius 2008-07-05 15:44:56 UTC
FreeBSD src repository
Modified files:
sys/sparc64/sparc64 in_cksum.c
Log:
SVN rev 180299 on 2008-07-05 15:44:56Z by marius
- Merge macros depending on the flags being preserved between calls
into a single "__asm"-statement as GCC doesn't guarantee their
consecutive output even when using consecutive "__asm __volatile"-
statement for them. Remove the otherwise unnecessary "__volatile". [1]
- The inline assembler instructions used here alter the condition
codes so add them to the clobber list accordingly.
- The inline assembler instructions used here uses output operands
before all input operands are consumed so add appropriate modifiers.
Pointed out by: bde [1]
MFC after: 2 weeks
Revision Changes Path
1.4 +41 -33 src/sys/sparc64/sparc64/in_cksum.c
More information about the cvs-src
mailing list