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

Unified Diff: sysdeps/i386/fpu/e_powl.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_powf.S ('k') | sysdeps/i386/fpu/e_remainder.S » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sysdeps/i386/fpu/e_powl.S
diff --git a/sysdeps/i386/fpu/e_powl.S b/sysdeps/i386/fpu/e_powl.S
index 6215496207f92ebf2e9786b09996d07f73530e3b..cc88912c9751fa7defa196bdb7f196ae373af3ae 100644
--- a/sysdeps/i386/fpu/e_powl.S
+++ b/sysdeps/i386/fpu/e_powl.S
@@ -143,7 +143,7 @@ ENTRY(__ieee754_powl)
orl %edx, %ecx
jnz 6b
fstp %st(0) // ST*x
- ret
+ NACLRET
/* y is ±NAN */
30: fldt 4(%esp) // x : y
@@ -154,7 +154,7 @@ ENTRY(__ieee754_powl)
je 31f
fxch // y : x
31: fstp %st(1)
- ret
+ NACLRET
cfi_adjust_cfa_offset (8)
.align ALIGNARG(4)
@@ -191,7 +191,7 @@ ENTRY(__ieee754_powl)
addl $8, %esp
cfi_adjust_cfa_offset (-8)
fstp %st(1) // 2^fract(y*log2(x))*2^int(y*log2(x))
- ret
+ NACLRET
cfi_adjust_cfa_offset (8)
28: fstp %st(1) // y*log2(x)
@@ -200,13 +200,13 @@ ENTRY(__ieee754_powl)
addl $8, %esp
cfi_adjust_cfa_offset (-8)
fstp %st(1) // 2^(y*log2(x))
- ret
+ NACLRET
// pow(x,±0) = 1
.align ALIGNARG(4)
11: fstp %st(0) // pop y
fldl MO(one)
- ret
+ NACLRET
// y == ±inf
.align ALIGNARG(4)
@@ -227,15 +227,15 @@ ENTRY(__ieee754_powl)
xorb %ah, %dl
andl $2, %edx
fldl MOX(inf_zero, %edx, 4)
- ret
+ NACLRET
.align ALIGNARG(4)
14: fldl MO(one)
- ret
+ NACLRET
.align ALIGNARG(4)
13: fldt 4(%esp) // load x == NaN
- ret
+ NACLRET
cfi_adjust_cfa_offset (8)
.align ALIGNARG(4)
@@ -263,7 +263,7 @@ ENTRY(__ieee754_powl)
// It's an odd integer.
shrl $31, %edx
fldl MOX(minf_mzero, %edx, 8)
- ret
+ NACLRET
cfi_adjust_cfa_offset (8)
.align ALIGNARG(4)
@@ -274,7 +274,7 @@ ENTRY(__ieee754_powl)
shrl $5, %eax
andl $8, %eax
fldl MOX(inf_zero, %eax, 1)
- ret
+ NACLRET
cfi_adjust_cfa_offset (8)
.align ALIGNARG(4)
@@ -283,7 +283,7 @@ ENTRY(__ieee754_powl)
cfi_adjust_cfa_offset (-8)
18: shrl $31, %edx
fldl MOX(inf_zero, %edx, 8)
- ret
+ NACLRET
cfi_adjust_cfa_offset (8)
.align ALIGNARG(4)
@@ -316,7 +316,7 @@ ENTRY(__ieee754_powl)
fldl MO(one)
fdivl MO(zero)
fchs
- ret
+ NACLRET
cfi_adjust_cfa_offset (8)
25: fstp %st(0)
@@ -325,7 +325,7 @@ ENTRY(__ieee754_powl)
27: // Raise divide-by-zero exception and get infinity value.
fldl MO(one)
fdivl MO(zero)
- ret
+ NACLRET
cfi_adjust_cfa_offset (8)
.align ALIGNARG(4)
@@ -350,13 +350,13 @@ ENTRY(__ieee754_powl)
jz 24f // jump if not odd
// It's an odd integer.
fldl MO(mzero)
- ret
+ NACLRET
cfi_adjust_cfa_offset (8)
22: fstp %st(0)
23: addl $8, %esp // Don't use 2 x pop
cfi_adjust_cfa_offset (-8)
24: fldl MO(zero)
- ret
+ NACLRET
END(__ieee754_powl)
« no previous file with comments | « sysdeps/i386/fpu/e_powf.S ('k') | sysdeps/i386/fpu/e_remainder.S » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698