public inbox for glibc-bugs@sourceware.org help / color / mirror / Atom feed
From: "macro@linux-mips.org" <sourceware-bugzilla@sourceware.org> To: glibc-bugs@sourceware.org Subject: [Bug math/15442] New: MIPS NewABI sqrtl (soft-fp) test-ldouble sqrt (qNaN) failure Date: Tue, 07 May 2013 19:17:00 -0000 [thread overview] Message-ID: <bug-15442-131@http.sourceware.org/bugzilla/> (raw) http://sourceware.org/bugzilla/show_bug.cgi?id=15442 Bug #: 15442 Summary: MIPS NewABI sqrtl (soft-fp) test-ldouble sqrt (qNaN) failure Product: glibc Version: unspecified Status: NEW Severity: normal Priority: P2 Component: math AssignedTo: macro@linux-mips.org ReportedBy: macro@linux-mips.org CC: tschwinge@sourceware.org Classification: Unclassified Target: mips-linux-gnu This problem: Failure: sqrt (qNaN) == qNaN: Exception "Invalid operation" set Failure: Test: sqrt (qNaN) == qNaN Result: is: sNaN should be: qNaN is reported for sqrtl by test-ldouble for the MIPS/Linux target and the n64 and n64 ABIs. This is because soft-fp does not respect the MIPS NaN encoding convention, where the quiet bit being zero denotes a qNaN. This is the only soft-fp function used by the MIPS port. There are other failures too, for negative numeric inputs, e.g. -1, but in those cases the result is passed through __kernel_standard that returns a double value rather than a long double value. Therefore the result is converted with __extenddftf2, that is a part of GCC's fp-bit soft-float support. That support suffers from a related bug being discussed here: http://gcc.gnu.org/ml/gcc-patches/2013-04/msg00278.html and therefore the remaining failures cannot be removed by simply correcting our soft-fp support. A proposed fix has been posted here: http://sourceware.org/ml/libc-alpha/2013-04/msg00646.html -- that removes the test-ldouble failure referred to above. -- 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.
next reply other threads:[~2013-05-07 19:17 UTC|newest] Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top 2013-05-07 19:17 macro@linux-mips.org [this message] 2013-05-16 22:55 ` [Bug math/15442] " macro@linux-mips.org 2014-06-13 18:07 ` fweimer at redhat dot com
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=bug-15442-131@http.sourceware.org/bugzilla/ \ --to=sourceware-bugzilla@sourceware.org \ --cc=glibc-bugs@sourceware.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).