This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug math/15442] MIPS NewABI sqrtl (soft-fp) test-ldouble sqrt (qNaN) failure
- From: "macro at linux-mips dot org" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Thu, 16 May 2013 22:54:55 +0000
- Subject: [Bug math/15442] MIPS NewABI sqrtl (soft-fp) test-ldouble sqrt (qNaN) failure
- Auto-submitted: auto-generated
- References: <bug-15442-131 at http dot sourceware dot org/bugzilla/>
http://sourceware.org/bugzilla/show_bug.cgi?id=15442
Maciej W. Rozycki <macro@linux-mips.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #1 from Maciej W. Rozycki <macro@linux-mips.org> 2013-05-16 22:54:55 UTC ---
commit 2848b105856e49d98f3c5026b6d8d790f9723c0c
Author: Maciej W. Rozycki <macro@codesourcery.com>
Date: Thu May 16 23:33:55 2013 +0100
MIPS: soft-fp NaN representation corrections
[BZ #15442] This adds support for the inverse interpretation of the
quiet bit of IEEE 754 floating-point NaN data that some processors
use. This includes in particular MIPS architecture processors; the
payload used for the canonical qNaN encoding is updated accordingly
so as not to interfere with the quiet bit.
ChangeLog:
2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
[BZ #15442]
* soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
(_FP_FRAC_SNANP_SEMIRAW): Likewise.
(_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
(_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
(_FP_SETQNAN): New macro.
(_FP_SETQNAN_SEMIRAW): Likewise.
(_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
(_FP_PACK_CANONICAL): Use _FP_SETQNAN.
(_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
(FP_EXTEND): Use _FP_FRAC_SNANP.
(FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
* soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
into account.
* sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
New macro.
* sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
Likewise.
ChangeLog.aarch64:
2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
[BZ #15442]
* sysdeps/aarch64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP): New
macro.
ChangeLog.alpha:
2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
[BZ #15442]
* sysdeps/alpha/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP): New
macro.
ChangeLog.mips:
2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
[BZ #15442]
* sysdeps/mips/mips64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
New macro.
(_FP_NANFRAC_S): Don't set the quiet bit.
(_FP_NANFRAC_D): Likewise.
(_FP_NANFRAC_Q): Likewise.
* sysdeps/mips/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP): New
macro.
(_FP_NANFRAC_S): Don't set the quiet bit.
(_FP_NANFRAC_D): Likewise.
(_FP_NANFRAC_Q): Likewise.
ChangeLog.powerpc:
2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
[BZ #15442]
* sysdeps/powerpc/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP): New
macro.
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.