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

Side by Side Diff: sysdeps/i386/fpu/e_logl.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/e_logf.S ('k') | sysdeps/i386/fpu/e_pow.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 * Adapted for `long double' by Ulrich Drepper <drepper@cygnus.com>. 5 * Adapted for `long double' by Ulrich Drepper <drepper@cygnus.com>.
6 */ 6 */
7 7
8 #include <machine/asm.h> 8 #include <machine/asm.h>
9 9
10 RCSID("$NetBSD: $") 10 RCSID("$NetBSD: $")
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
47 jc 3f // in case x is NaN or +-Inf 47 jc 3f // in case x is NaN or +-Inf
48 4: fsubl MO(one) // x-1 : x : log(2) 48 4: fsubl MO(one) // x-1 : x : log(2)
49 fld %st // x-1 : x-1 : x : log(2) 49 fld %st // x-1 : x-1 : x : log(2)
50 fabs // |x-1| : x-1 : x : log(2) 50 fabs // |x-1| : x-1 : x : log(2)
51 fcompl MO(limit) // x-1 : x : log(2) 51 fcompl MO(limit) // x-1 : x : log(2)
52 fnstsw // x-1 : x : log(2) 52 fnstsw // x-1 : x : log(2)
53 andb $0x45, %ah 53 andb $0x45, %ah
54 jz 2f 54 jz 2f
55 fstp %st(1) // x-1 : log(2) 55 fstp %st(1) // x-1 : log(2)
56 fyl2xp1 // log(x) 56 fyl2xp1 // log(x)
57 » ret 57 » NACLRET
58 58
59 2: fstp %st(0) // x : log(2) 59 2: fstp %st(0) // x : log(2)
60 fyl2x // log(x) 60 fyl2x // log(x)
61 » ret 61 » NACLRET
62 62
63 3: jp 4b // in case x is +-Inf 63 3: jp 4b // in case x is +-Inf
64 fstp %st(1) 64 fstp %st(1)
65 fstp %st(1) 65 fstp %st(1)
66 » ret 66 » NACLRET
67 END (__ieee754_logl) 67 END (__ieee754_logl)
OLDNEW
« no previous file with comments | « sysdeps/i386/fpu/e_logf.S ('k') | sysdeps/i386/fpu/e_pow.S » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698