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

Side by Side Diff: sysdeps/i386/fpu/s_copysignl.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_copysignf.S ('k') | sysdeps/i386/fpu/s_cos.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 * Changes for long double by Ulrich Drepper <drepper@cygnus.com> 3 * Changes for long double by Ulrich Drepper <drepper@cygnus.com>
4 * Public domain. 4 * Public domain.
5 */ 5 */
6 6
7 #include <machine/asm.h> 7 #include <machine/asm.h>
8 8
9 RCSID("$NetBSD: $") 9 RCSID("$NetBSD: $")
10 10
11 ENTRY(__copysignl) 11 ENTRY(__copysignl)
12 movl 24(%esp),%edx 12 movl 24(%esp),%edx
13 movl 12(%esp),%eax 13 movl 12(%esp),%eax
14 andl $0x8000,%edx 14 andl $0x8000,%edx
15 andl $0x7fff,%eax 15 andl $0x7fff,%eax
16 orl %edx,%eax 16 orl %edx,%eax
17 movl %eax,12(%esp) 17 movl %eax,12(%esp)
18 fldt 4(%esp) 18 fldt 4(%esp)
19 » ret 19 » NACLRET
20 END (__copysignl) 20 END (__copysignl)
21 weak_alias (__copysignl, copysignl) 21 weak_alias (__copysignl, copysignl)
OLDNEW
« no previous file with comments | « sysdeps/i386/fpu/s_copysignf.S ('k') | sysdeps/i386/fpu/s_cos.S » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698