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

Unified Diff: sysdeps/i386/fpu/e_scalb.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_remainderl.S ('k') | sysdeps/i386/fpu/e_scalbf.S » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sysdeps/i386/fpu/e_scalb.S
diff --git a/sysdeps/i386/fpu/e_scalb.S b/sysdeps/i386/fpu/e_scalb.S
index 7e334a361167b245081d6fcc9a215512e443a481..5ce4f39e9c9f428d611293f08fcffe85e8ff9d3c 100644
--- a/sysdeps/i386/fpu/e_scalb.S
+++ b/sysdeps/i386/fpu/e_scalb.S
@@ -59,7 +59,7 @@ ENTRY(__ieee754_scalb)
jne 4f
fscale
fstp %st(1)
- ret
+ NACLRET
/* y is -inf */
1: fxam
@@ -77,7 +77,7 @@ ENTRY(__ieee754_scalb)
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. */
@@ -87,16 +87,16 @@ ENTRY(__ieee754_scalb)
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_scalb)
« no previous file with comments | « sysdeps/i386/fpu/e_remainderl.S ('k') | sysdeps/i386/fpu/e_scalbf.S » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698