about summary refs log tree commit diff
path: root/src/fenv/x86_64
diff options
context:
space:
mode:
authorSzabolcs Nagy <nsz@port70.net>2014-02-09 18:39:53 +0100
committerSzabolcs Nagy <nsz@port70.net>2014-02-09 18:39:53 +0100
commit7ee48f7b69523c68768684551bc37ba05496c27f (patch)
tree641187c8f0bc1c0a3980648a2e199898a1db37ff /src/fenv/x86_64
parent929729d4307e28d7023fbee2b727a56fc34b744c (diff)
downloadmusl-7ee48f7b69523c68768684551bc37ba05496c27f.tar.gz
musl-7ee48f7b69523c68768684551bc37ba05496c27f.tar.xz
musl-7ee48f7b69523c68768684551bc37ba05496c27f.zip
fix fesetenv(FE_DFL_ENV) on x86_64 (see previous commit)
Diffstat (limited to 'src/fenv/x86_64')
-rw-r--r--src/fenv/x86_64/fenv.s2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fenv/x86_64/fenv.s b/src/fenv/x86_64/fenv.s
index 6aaf25eb..b5aeaf4f 100644
--- a/src/fenv/x86_64/fenv.s
+++ b/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