Date: Sat, 9 Aug 2003 10:07:24 -0700 (PDT) From: Marcel Moolenaar <marcel@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/lib/libc/ia64/gen fpgetmask.c fpsetmask.c Message-ID: <200308091707.h79H7Oi8034909@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
marcel 2003/08/09 10:07:24 PDT
FreeBSD src repository
Modified files:
lib/libc/ia64/gen fpgetmask.c fpsetmask.c
Log:
o There are 6 trap disable bits in ar.fpsr, not five. Even though we
didn't provide a constant for one of them (non-IEEE denormal trap),
in an attempt to not support it probably, it's not we are left with
the lower 5 bits.
o Properly mask the passed or returned fp_except_t. Not doing so
causes instant core dumps by trying to write an invalid value to
ar.fpsr. Now that we're masking, stop using exclusive-or to invert
bits.
This fixes the illegal instruction fault encountered when building
mozilla.
Revision Changes Path
1.3 +1 -1 src/lib/libc/ia64/gen/fpgetmask.c
1.3 +3 -3 src/lib/libc/ia64/gen/fpsetmask.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200308091707.h79H7Oi8034909>
