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

Unified Diff: sysdeps/i386/fpu/e_scalbl.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_scalbf.S ('k') | sysdeps/i386/fpu/e_sqrt.S » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sysdeps/i386/fpu/e_scalbl.S
diff --git a/sysdeps/i386/fpu/e_scalbl.S b/sysdeps/i386/fpu/e_scalbl.S
index 3f67d0befb9e81b0b49f7d83d1873b2e20c8303a..173fc9deb12fd85ed4155645f0145585d379d300 100644
--- a/sysdeps/i386/fpu/e_scalbl.S
+++ b/sysdeps/i386/fpu/e_scalbl.S
@@ -61,7 +61,7 @@ ENTRY(__ieee754_scalbl)
jne 4f
fscale
fstp %st(1)
- ret
+ NACLRET
/* y is -inf */
1: fxam
@@ -79,7 +79,7 @@ ENTRY(__ieee754_scalbl)
shrl $11, %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_scalbl)
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_scalbl)
« no previous file with comments | « sysdeps/i386/fpu/e_scalbf.S ('k') | sysdeps/i386/fpu/e_sqrt.S » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698