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

Unified Diff: sysdeps/i386/fpu/e_acoshf.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_acosh.S ('k') | sysdeps/i386/fpu/e_acoshl.S » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sysdeps/i386/fpu/e_acoshf.S
diff --git a/sysdeps/i386/fpu/e_acoshf.S b/sysdeps/i386/fpu/e_acoshf.S
index 1906c605786e571417acac0077fa7d6e01d685d4..ffdcd6b9991ee6cac3fe5ae0f299fbf15520d074 100644
--- a/sysdeps/i386/fpu/e_acoshf.S
+++ b/sysdeps/i386/fpu/e_acoshf.S
@@ -68,18 +68,18 @@ ENTRY(__ieee754_acoshf)
sahf
ja 2f
fyl2xp1 // log1p(x-1+sqrt(2*(x-1)+(x-1)^2))
- ret
+ NACLRET
2: faddl MO(one) // x+sqrt(2*(x-1)+(x-1)^2) : log(2)
fyl2x // log(x+sqrt(2*(x-1)+(x-1)^2))
- ret
+ NACLRET
// x > 2^14 => y = log(x) + log(2)
.align ALIGNARG(4)
3: fyl2x // log(x)
fldln2 // log(2) : log(x)
faddp // log(x)+log(2)
- ret
+ NACLRET
// 2^28 > x > 2 => y = log(2*x - 1/(x+sqrt(x*x-1)))
.align ALIGNARG(4)
@@ -93,11 +93,11 @@ ENTRY(__ieee754_acoshf)
fdivrl MO(one) // 1/(x+sqrt(x^2-1)) : 2*x : log(2)
fsubrp // 2*x+1/(x+sqrt(x^2)-1) : log(2)
fyl2x // log(2*x+1/(x+sqrt(x^2-1)))
- ret
+ NACLRET
// x < 1 => NaN
.align ALIGNARG(4)
5: fldz
fdiv %st, %st(0)
- ret
+ NACLRET
END(__ieee754_acoshf)
« no previous file with comments | « sysdeps/i386/fpu/e_acosh.S ('k') | sysdeps/i386/fpu/e_acoshl.S » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698