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

Reply via email to