Date: Mon, 7 Mar 2005 04:55:22 +0000 (UTC) From: David Schultz <das@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/lib/libc/alpha _fpmath.h src/lib/libc/amd64 _fpmath.h src/lib/libc/arm _fpmath.h src/lib/libc/i386 _fpmath.h src/lib/libc/powerpc _fpmath.h src/lib/libc/sparc64 _fpmath.h Message-ID: <200503070455.j274tMq0053142@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
das 2005-03-07 04:55:22 UTC
FreeBSD src repository
Modified files:
lib/libc/alpha _fpmath.h
lib/libc/amd64 _fpmath.h
lib/libc/arm _fpmath.h
lib/libc/i386 _fpmath.h
lib/libc/powerpc _fpmath.h
lib/libc/sparc64 _fpmath.h
Log:
Define LDBL_NBIT to be a mask indicating the position of the integer
bit in a long double. For architectures that don't have such a bit,
LDBL_NBIT is 0. This makes it possible to say `mantissa & ~LDBL_NBIT'
in places that previously used an #ifdef to select the right expression.
The optimizer should dispense with the extra arithmetic when LDBL_NBIT
is 0.
Revision Changes Path
1.6 +1 -0 src/lib/libc/alpha/_fpmath.h
1.6 +2 -1 src/lib/libc/amd64/_fpmath.h
1.3 +2 -1 src/lib/libc/arm/_fpmath.h
1.5 +2 -1 src/lib/libc/i386/_fpmath.h
1.7 +1 -0 src/lib/libc/powerpc/_fpmath.h
1.5 +1 -0 src/lib/libc/sparc64/_fpmath.h
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200503070455.j274tMq0053142>
