Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 26 Oct 2007 07:15:04 +0000 (UTC)
From:      "Bjoern A. Zeeb" <bz@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/i386/i386 in_cksum.c src/sys/i386/include in_cksum.h
Message-ID:  <200710260715.l9Q7F5W5083094@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
bz          2007-10-26 07:15:04 UTC

  FreeBSD src repository

  Modified files:        (Branch: RELENG_7)
    sys/i386/i386        in_cksum.c 
    sys/i386/include     in_cksum.h 
  Log:
  MFC: rev. 1.29 sys/i386/i386/in_cksum.c
       rev. 1.18 sys/i386/include/in_cksum.h
  
    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])
    PR:           115678, 69257
  
  Approved by:    re (kensmith)
  
  Revision   Changes    Path
  1.28.10.1  +77 -43    src/sys/i386/i386/in_cksum.c
  1.17.10.1  +14 -7     src/sys/i386/include/in_cksum.h



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