fix fesetenv(FE_DFL_ENV) on x86_64 (see previous commit)
authorSzabolcs Nagy <nsz@port70.net>
Sun, 9 Feb 2014 17:39:53 +0000 (18:39 +0100)
committerSzabolcs Nagy <nsz@port70.net>
Sun, 9 Feb 2014 17:39:53 +0000 (18:39 +0100)
src/fenv/x86_64/fenv.s

index 6aaf25eb1efdf7c355d0d2200b096783ffe3e34d..b5aeaf4f494df7ddbf46664f427f5c887b618a6f 100644 (file)
@@ -76,7 +76,7 @@ fesetenv:
        ret
 1:     push %rax
        push %rax
-       push %rax
+       pushq $0xffff
        pushq $0x37f
        fldenv (%rsp)
        pushq $0x1f80