cvs commit: src/lib/libc/ia64/gen fpgetmask.c fpsetmask.c

Joe Marcus Clarke marcus at marcuscom.com
Sat Aug 9 10:13:52 PDT 2003


On Sat, 2003-08-09 at 13:07, Marcel Moolenaar wrote:
> 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.

Nice!

Joe

-- 
PGP Key : http://www.marcuscom.com/pgp.asc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: This is a digitally signed message part
Url : http://lists.freebsd.org/pipermail/cvs-src/attachments/20030809/49b44602/attachment.bin


More information about the cvs-src mailing list