cvs commit: src/sys/sparc64/sparc64 in_cksum.c

Marius Strobl marius at FreeBSD.org
Mon Jul 21 16:56:19 UTC 2008


marius      2008-07-21 16:56:15 UTC

  FreeBSD src repository

  Modified files:        (Branch: RELENG_7)
    sys/sparc64/sparc64  in_cksum.c 
  Log:
  SVN rev 180662 on 2008-07-21 16:56:15Z by marius
  
  - Fix spelling and style.
  - Use __FBSDID.
  - 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]
  
  Revision  Changes    Path
  1.2.18.1  +63 -50    src/sys/sparc64/sparc64/in_cksum.c


More information about the cvs-src mailing list