瀏覽代碼

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

git-svn-id: trunk@38661 -
pierre 7 年之前
父節點
當前提交
4026644278
共有 1 個文件被更改,包括 2 次插入2 次删除
  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: