From ebc10fa17634a6ddb87a3aedd71b7d9617d12c19 Mon Sep 17 00:00:00 2001 From: Szabolcs Nagy Date: Sat, 17 Aug 2013 02:40:44 +0000 Subject: 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) --- src/fenv/x86_64/fenv.s | 3 --- 1 file changed, 3 deletions(-) (limited to 'src/fenv/x86_64') 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 -- cgit v1.2.1