Date: Sun, 14 Jun 1998 08:52:02 -0700 (PDT) From: Bruce Evans <bde@FreeBSD.ORG> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-sys@FreeBSD.ORG Subject: cvs commit: src/sys/nfs nfs_bio.c nfs_subs.c Message-ID: <199806141552.IAA09939@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
bde 1998/06/14 08:52:02 PDT Modified files: sys/nfs nfs_bio.c nfs_subs.c Log: Avoid an egcs pessimization for 64-bit signed division on i386's. Pre-2.8 versions of gcc generate a call to __divdi3() for all 64-bit signed divisions, but egcs optimizes them to a shift and fixup when the divisor is a constant power of 2. Unfortunately, it generates a call to __cmpdi2() for the fixup, although all except possibly ancient versions of gcc and egcs do ordinary 64-bit comparisons inline. Revision Changes Path 1.59 +2 -2 src/sys/nfs/nfs_bio.c 1.62 +4 -4 src/sys/nfs/nfs_subs.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199806141552.IAA09939>