diff options
| author | Szabolcs Nagy <nsz@port70.net> | 2013-08-17 02:40:44 +0000 |
|---|---|---|
| committer | Szabolcs Nagy <nsz@port70.net> | 2013-08-18 16:27:20 +0000 |
| commit | ebc10fa17634a6ddb87a3aedd71b7d9617d12c19 (patch) | |
| tree | 8e3f1ffffe8c0ed8d768ac7bbdb156038d12556e /src/fenv/x86_64 | |
| parent | fix i386 fesetenv: FE_DFL_ENV is (fenv_t*)-1 not 0 (diff) | |
| download | grovel-ebc10fa17634a6ddb87a3aedd71b7d9617d12c19.tar.gz grovel-ebc10fa17634a6ddb87a3aedd71b7d9617d12c19.tar.xz | |
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.s | 3 |
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 |
