Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(489)

Unified Diff: sysdeps/i386/fpu/e_scalbf.S

Issue 3539003: Fix up RET instructions in sysdeps/i386/fpu (Closed) Base URL: ssh://gitrw.chromium.org/nacl-glibc
Patch Set: Created 10 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « sysdeps/i386/fpu/e_scalb.S ('k') | sysdeps/i386/fpu/e_scalbl.S » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sysdeps/i386/fpu/e_scalbf.S
diff --git a/sysdeps/i386/fpu/e_scalbf.S b/sysdeps/i386/fpu/e_scalbf.S
index e99ee92cb036a49578a164b823cffd85db18857b..5c141f68d51dcc390a8fdb2c9074e6c4f0f45a6f 100644
--- a/sysdeps/i386/fpu/e_scalbf.S
+++ b/sysdeps/i386/fpu/e_scalbf.S
@@ -61,7 +61,7 @@ ENTRY(__ieee754_scalbf)
jne 4f
fscale
fstp %st(1)
- ret
+ NACLRET
/* y is -inf */
1: fxam
@@ -79,7 +79,7 @@ ENTRY(__ieee754_scalbf)
shrl $27, %edx
addl %edx, %eax
fldl MOX(zero_nan, %eax, 1)
- ret
+ NACLRET
/* The result is NaN, but we must not raise an exception.
So use a variable. */
@@ -89,16 +89,16 @@ ENTRY(__ieee754_scalbf)
LOAD_PIC_REG (cx)
#endif
fldl MO(nan)
- ret
+ NACLRET
/* The first parameter is a NaN. Return it. */
3: fstp %st(1)
- ret
+ NACLRET
/* Return NaN and raise the invalid exception. */
4: fstp %st
fstp %st
fldz
fdiv %st
- ret
+ NACLRET
END(__ieee754_scalbf)
« no previous file with comments | « sysdeps/i386/fpu/e_scalb.S ('k') | sysdeps/i386/fpu/e_scalbl.S » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698