Sfoglia il codice sorgente

fix fesetenv(FE_DFL_ENV) on x86_64 (see previous commit)

Szabolcs Nagy 11 anni fa
parent
commit
7ee48f7b69
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      src/fenv/x86_64/fenv.s

+ 1 - 1
src/fenv/x86_64/fenv.s

@@ -76,7 +76,7 @@ fesetenv:
 	ret
 1:	push %rax
 	push %rax
-	push %rax
+	pushq $0xffff
 	pushq $0x37f
 	fldenv (%rsp)
 	pushq $0x1f80