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

Marius Strobl marius at FreeBSD.org
Mon Jul 21 16:59:35 UTC 2008


marius      2008-07-21 16:59:22 UTC

  FreeBSD src repository

  Modified files:        (Branch: RELENG_6)
    sys/sparc64/sparc64  in_cksum.c 
  Log:
  SVN rev 180663 on 2008-07-21 16:59:22Z by marius
  
  MFC: r180298; r180299
  
  - 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.8.1   +63 -50    src/sys/sparc64/sparc64/in_cksum.c


More information about the cvs-src mailing list