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

Marcel Moolenaar marcel at FreeBSD.org
Sat Aug 9 10:07:26 PDT 2003


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


More information about the cvs-src mailing list