public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/58684] New: powerpc uses only unordered floating-point compares
@ 2013-10-10 16:34 jsm28 at gcc dot gnu.org
  2015-03-21 22:18 ` [Bug target/58684] " dje at gcc dot gnu.org
  2024-04-28  7:42 ` cvs-commit at gcc dot gnu.org
  0 siblings, 2 replies; 3+ messages in thread
From: jsm28 at gcc dot gnu.org @ 2013-10-10 16:34 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58684

            Bug ID: 58684
           Summary: powerpc uses only unordered floating-point compares
           Product: gcc
           Version: 4.9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: jsm28 at gcc dot gnu.org
            Target: powerpc*-*

When compiling for powerpc (classic hard-float), floating-point compares always
use the fcmpu instructions that don't raise exceptions for unordered operands,
never the exception-raising fcmpo variants.  The correct behavior is to raise
exceptions for comparisons such as "x < y", but not for "x == y" or
"__builtin_isless (x, y)".


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2024-04-28  7:42 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-10-10 16:34 [Bug target/58684] New: powerpc uses only unordered floating-point compares jsm28 at gcc dot gnu.org
2015-03-21 22:18 ` [Bug target/58684] " dje at gcc dot gnu.org
2024-04-28  7:42 ` cvs-commit at gcc dot gnu.org

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).