Przeglądaj źródła

math: fix lrintl.s on x86_64 (use movslq to signextend the result)

Szabolcs Nagy 11 lat temu
rodzic
commit
e5937885de
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      src/math/x86_64/lrintl.s

+ 1 - 1
src/math/x86_64/lrintl.s

@@ -3,5 +3,5 @@
 lrintl:
 	fldt 8(%rsp)
 	fistpl 8(%rsp)
-	mov 8(%rsp),%eax
+	movslq 8(%rsp),%rax
 	ret