projects
/
oweals
/
musl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
37c2506
)
fix i386 fesetenv: FE_DFL_ENV is (fenv_t*)-1 not 0
author
Szabolcs Nagy
<nsz@port70.net>
Sat, 17 Aug 2013 02:37:08 +0000
(
02:37
+0000)
committer
Szabolcs Nagy
<nsz@port70.net>
Sun, 18 Aug 2013 16:27:20 +0000
(16:27 +0000)
src/fenv/i386/fenv.s
patch
|
blob
|
history
diff --git
a/src/fenv/i386/fenv.s
b/src/fenv/i386/fenv.s
index e365b8f418bd19ff2e00d35b0ff6e848065d4dce..471d2af8e2e9f530df98268249a02a1a22edb0e6 100644
(file)
--- a/
src/fenv/i386/fenv.s
+++ b/
src/fenv/i386/fenv.s
@@
-66,9
+66,9
@@
fegetenv:
fesetenv:
mov 4(%esp),%ecx
xor %eax,%eax
-
test %ecx,
%ecx
+
inc
%ecx
jz 1f
- fldenv (%ecx)
+ fldenv
-1
(%ecx)
ret
1: push %eax
push %eax