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

Side by Side Diff: sysdeps/i386/fpu/s_copysignf.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_copysign.S ('k') | sysdeps/i386/fpu/s_copysignl.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 J.T. Conklin <jtc@netbsd.org>. 2 * Written by J.T. Conklin <jtc@netbsd.org>.
3 * Public domain. 3 * Public domain.
4 */ 4 */
5 5
6 #include <machine/asm.h> 6 #include <machine/asm.h>
7 7
8 RCSID("$NetBSD: s_copysignf.S,v 1.3 1995/05/08 23:53:25 jtc Exp $") 8 RCSID("$NetBSD: s_copysignf.S,v 1.3 1995/05/08 23:53:25 jtc Exp $")
9 9
10 ENTRY(__copysignf) 10 ENTRY(__copysignf)
11 movl 8(%esp),%edx 11 movl 8(%esp),%edx
12 movl 4(%esp),%eax 12 movl 4(%esp),%eax
13 andl $0x80000000,%edx 13 andl $0x80000000,%edx
14 andl $0x7fffffff,%eax 14 andl $0x7fffffff,%eax
15 orl %edx,%eax 15 orl %edx,%eax
16 movl %eax,4(%esp) 16 movl %eax,4(%esp)
17 flds 4(%esp) 17 flds 4(%esp)
18 » ret 18 » NACLRET
19 END (__copysignf) 19 END (__copysignf)
20 weak_alias (__copysignf, copysignf) 20 weak_alias (__copysignf, copysignf)
OLDNEW
« no previous file with comments | « sysdeps/i386/fpu/s_copysign.S ('k') | sysdeps/i386/fpu/s_copysignl.S » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698