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

Unified Diff: sysdeps/i386/fpu/s_cexpf.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/s_ceill.S ('k') | sysdeps/i386/fpu/s_copysign.S » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sysdeps/i386/fpu/s_cexpf.S
diff --git a/sysdeps/i386/fpu/s_cexpf.S b/sysdeps/i386/fpu/s_cexpf.S
index f116854096e204c7285dbddc2ea072546573adb8..3439401ada661a8a4cb8ac0cd1dc27c6c20b62de 100644
--- a/sysdeps/i386/fpu/s_cexpf.S
+++ b/sysdeps/i386/fpu/s_cexpf.S
@@ -119,7 +119,7 @@ ENTRY(__cexpf)
cfi_adjust_cfa_offset (-4)
popl %edx
cfi_adjust_cfa_offset (-4)
- ret
+ NACLRET
/* We have to reduce the argument to fsincos. */
.align ALIGNARG(4)
@@ -141,7 +141,7 @@ ENTRY(__cexpf)
cfi_adjust_cfa_offset (-4)
popl %edx
cfi_adjust_cfa_offset (-4)
- ret
+ NACLRET
/* The real part is +-inf. We must make further differences. */
.align ALIGNARG(4)
@@ -182,7 +182,7 @@ ENTRY(__cexpf)
shll $23, %eax
andl $0x80000000, %eax
orl %ecx, %eax
- ret
+ NACLRET
/* We must reduce the argument to fsincos. */
.align ALIGNARG(4)
5: fldt MO(twopi)
@@ -208,7 +208,7 @@ ENTRY(__cexpf)
shll $23, %eax
andl $0x80000000, %eax
orl %ecx, %eax
- ret
+ NACLRET
/* The real part is +-Inf and the imaginary part is +-0. So return
+-Inf+-0i. */
@@ -222,7 +222,7 @@ ENTRY(__cexpf)
movl MOX(huge_nan_null_null,%edx,1), %eax
popl %edx
cfi_adjust_cfa_offset (-4)
- ret
+ NACLRET
/* The real part is +-Inf, the imaginary is also is not finite. */
.align ALIGNARG(4)
@@ -244,7 +244,7 @@ ENTRY(__cexpf)
movl MOX(huge_nan_null_null,%edx,1), %eax
movl MOX(huge_nan_null_null+4,%edx,1), %edx
- ret
+ NACLRET
/* The real part is NaN. */
.align ALIGNARG(4)
@@ -255,7 +255,7 @@ ENTRY(__cexpf)
fstp %st(0)
movl MO(huge_nan_null_null+4), %eax
movl %eax, %edx
- ret
+ NACLRET
END(__cexpf)
weak_alias (__cexpf, cexpf)
« no previous file with comments | « sysdeps/i386/fpu/s_ceill.S ('k') | sysdeps/i386/fpu/s_copysign.S » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698