Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 5 Jul 2008 15:44:56 +0000 (UTC)
From:      Marius Strobl <marius@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/sparc64/sparc64 in_cksum.c
Message-ID:  <200807051545.m65Fj6ee032699@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200807051545.m65Fj6ee032699>