summaryrefslogtreecommitdiff
path: root/src/fenv/x86_64
diff options
context:
space:
mode:
authorSzabolcs Nagy <nsz@port70.net>2013-08-17 02:40:44 +0000
committerSzabolcs Nagy <nsz@port70.net>2013-08-18 16:27:20 +0000
commitebc10fa17634a6ddb87a3aedd71b7d9617d12c19 (patch)
tree8e3f1ffffe8c0ed8d768ac7bbdb156038d12556e /src/fenv/x86_64
parentd6841499109fc397cd3a57a726304fec9b08f510 (diff)
downloadmusl-ebc10fa17634a6ddb87a3aedd71b7d9617d12c19.tar.gz
add sse fenv support on i386 through hwcap
the sse and x87 rounding modes should be always the same, the visible exception flags are the bitwise or of the two fenv states (so it's enough to query the rounding mode or raise exceptions on one fenv)
Diffstat (limited to 'src/fenv/x86_64')
-rw-r--r--src/fenv/x86_64/fenv.s3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/fenv/x86_64/fenv.s b/src/fenv/x86_64/fenv.s
index 443e35a2..c48dade3 100644
--- a/src/fenv/x86_64/fenv.s
+++ b/src/fenv/x86_64/fenv.s
@@ -28,9 +28,6 @@ feraiseexcept:
stmxcsr -8(%rsp)
or %edi,-8(%rsp)
ldmxcsr -8(%rsp)
- fnstenv -32(%rsp)
- or %edi,-28(%rsp)
- fldenv -32(%rsp)
xor %eax,%eax
ret