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

Unified Diff: sysdeps/i386/fpu/e_acoshl.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_acoshf.S ('k') | sysdeps/i386/fpu/e_asin.S » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sysdeps/i386/fpu/e_acoshl.S
diff --git a/sysdeps/i386/fpu/e_acoshl.S b/sysdeps/i386/fpu/e_acoshl.S
index c7b548d25a309fe53b23145821890af3344e6814..2bb9f2c192f884c19114e431f75c81d9a15a04ef 100644
--- a/sysdeps/i386/fpu/e_acoshl.S
+++ b/sysdeps/i386/fpu/e_acoshl.S
@@ -75,18 +75,18 @@ ENTRY(__ieee754_acoshl)
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^34 => 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^34 > x > 2 => y = log(2*x - 1/(x+sqrt(x*x-1)))
.align ALIGNARG(4)
@@ -100,11 +100,11 @@ ENTRY(__ieee754_acoshl)
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_acoshl)
« no previous file with comments | « sysdeps/i386/fpu/e_acoshf.S ('k') | sysdeps/i386/fpu/e_asin.S » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698