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

Unified Diff: sysdeps/i386/fpu/s_asinh.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_sqrtf.S ('k') | sysdeps/i386/fpu/s_asinhf.S » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sysdeps/i386/fpu/s_asinh.S
diff --git a/sysdeps/i386/fpu/s_asinh.S b/sysdeps/i386/fpu/s_asinh.S
index ca042b414b3d184a9159eea2c7364fec9f13bd26..c3d917e2d03a0601c295c1ba68199a765f521df5 100644
--- a/sysdeps/i386/fpu/s_asinh.S
+++ b/sysdeps/i386/fpu/s_asinh.S
@@ -83,16 +83,16 @@ ENTRY(__asinh)
fyl2xp1
jecxz 4f
fchs
-4: ret
+4: NACLRET
7: fldl 4(%esp)
- ret
+ NACLRET
6: faddl MO(one)
fyl2x
jecxz 4f
fchs
-4: ret
+4: NACLRET
// |x| < 2^-28 => y = x (inexact iff |x| != 0.0)
.align ALIGNARG(4)
@@ -105,7 +105,7 @@ ENTRY(__asinh)
4: fld %st // x : x
faddl MO(huge) // huge+x : x
fstp %st(0) // x
- ret
+ NACLRET
// |x| > 2^28 => y = sign(x) * (log(|x|) + log(2))
.align ALIGNARG(4)
@@ -114,7 +114,7 @@ ENTRY(__asinh)
faddp // log(|x|)+log(2)
jecxz 4f
fchs
-4: ret
+4: NACLRET
// |x| > 2 => y = sign(x) * log(2*|x| + 1/(|x|+sqrt(x*x+1)))
.align ALIGNARG(4)
@@ -130,6 +130,6 @@ ENTRY(__asinh)
fyl2x // log(2*|x|+1/(|x|+sqrt(1+|x|^2)))
jecxz 4f
fchs
-4: ret
+4: NACLRET
END(__asinh)
weak_alias (__asinh, asinh)
« no previous file with comments | « sysdeps/i386/fpu/e_sqrtf.S ('k') | sysdeps/i386/fpu/s_asinhf.S » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698