Преглед изворни кода

bug fix: wrong opcode for writing long long

Rich Felker пре 13 година
родитељ
комит
d9c1d72cdc
2 измењених фајлова са 2 додато и 2 уклоњено
  1. 1 1
      src/math/i386/llrint.s
  2. 1 1
      src/math/i386/llrintl.s

+ 1 - 1
src/math/i386/llrint.s

@@ -2,7 +2,7 @@
 .type llrint,@function
 llrint:
 	fldl 4(%esp)
-	fistpl 4(%esp)
+	fistpq 4(%esp)
 	mov 4(%esp),%eax
 	mov 8(%esp),%edx
 	ret

+ 1 - 1
src/math/i386/llrintl.s

@@ -2,7 +2,7 @@
 .type llrintl,@function
 llrintl:
 	fldt 4(%esp)
-	fistpl 4(%esp)
+	fistpq 4(%esp)
 	mov 4(%esp),%eax
 	mov 8(%esp),%edx
 	ret