https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91323

--- Comment #5 from Uroš Bizjak <ubizjak at gmail dot com> ---
(In reply to Richard Biener from comment #3)

> That means this is a target issue, LTGT isn't an unordered compare.

So, it should create COMISS then?

The patch is then simple:

--cut here--
Index: config/i386/i386-expand.c
===================================================================
--- config/i386/i386-expand.c   (revision 273981)
+++ config/i386/i386-expand.c   (working copy)
@@ -2290,12 +2290,12 @@
     case GE:
     case LT:
     case LE:
+    case LTGT:
       return false;

     case EQ:
     case NE:

-    case LTGT:
     case UNORDERED:
     case ORDERED:
     case UNLT:
--cut here--

(I just want to double-check, this stuff is a bit confusing to me).

Reply via email to