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

Side by Side Diff: sysdeps/i386/fpu/s_finitef.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, 2 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 unified diff | Download patch
« no previous file with comments | « sysdeps/i386/fpu/s_finite.S ('k') | sysdeps/i386/fpu/s_finitel.S » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Written by Joe Keane <jgk@jgk.org>. 2 * Written by Joe Keane <jgk@jgk.org>.
3 */ 3 */
4 4
5 #include <machine/asm.h> 5 #include <machine/asm.h>
6 6
7 ENTRY(__finitef) 7 ENTRY(__finitef)
8 movl 4(%esp),%eax 8 movl 4(%esp),%eax
9 movl $0xFF7FFFFF,%ecx 9 movl $0xFF7FFFFF,%ecx
10 subl %eax,%ecx 10 subl %eax,%ecx
11 xorl %ecx,%eax 11 xorl %ecx,%eax
12 shrl $31,%eax 12 shrl $31,%eax
13 » ret 13 » NACLRET
14 END (__finitef) 14 END (__finitef)
15 weak_alias (__finitef, finitef) 15 weak_alias (__finitef, finitef)
16 hidden_def (__finitef) 16 hidden_def (__finitef)
OLDNEW
« no previous file with comments | « sysdeps/i386/fpu/s_finite.S ('k') | sysdeps/i386/fpu/s_finitel.S » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698