Przeglądaj źródła

Add explicit registers to fcomip to allow compilation with clang (bug report 33547)

git-svn-id: trunk@38661 -
pierre 7 lat temu
rodzic
commit
4026644278
1 zmienionych plików z 2 dodań i 2 usunięć
  1. 2 2
      rtl/x86_64/math.inc

+ 2 - 2
rtl/x86_64/math.inc

@@ -240,7 +240,7 @@ const
             fld         %st
             fabs
             fld1
-            fcomip
+            fcomip      %st(1),%st(0)
             fstp        %st
             jp          .L3               { NaN }
             jae         .L1               { |frac(z)| <= 1, good }
@@ -248,7 +248,7 @@ const
             fld         %st(1)
             fabs
             flds        large(%rip)
-            fcomip
+            fcomip      %st(1),%st(0)
             fstp        %st
             jb          .L3               { int(z) >= 24576 }
    .L0: