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

Side by Side Diff: sysdeps/i386/fpu/s_sincosl.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_sincosf.S ('k') | sysdeps/i386/fpu/s_sinf.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 /* Compute sine and cosine of argument. 1 /* Compute sine and cosine of argument.
2 Copyright (C) 1997, 2000 Free Software Foundation, Inc. 2 Copyright (C) 1997, 2000 Free Software Foundation, Inc.
3 This file is part of the GNU C Library. 3 This file is part of the GNU C Library.
4 Contributed by Ulrich Drepper <drepper@cygnus.com>, 1997. 4 Contributed by Ulrich Drepper <drepper@cygnus.com>, 1997.
5 5
6 The GNU C Library is free software; you can redistribute it and/or 6 The GNU C Library is free software; you can redistribute it and/or
7 modify it under the terms of the GNU Lesser General Public 7 modify it under the terms of the GNU Lesser General Public
8 License as published by the Free Software Foundation; either 8 License as published by the Free Software Foundation; either
9 version 2.1 of the License, or (at your option) any later version. 9 version 2.1 of the License, or (at your option) any later version.
10 10
(...skipping 26 matching lines...) Expand all
37 CHECK_BOUNDS_BOTH_WIDE (%ecx, SINP(%esp), $12) 37 CHECK_BOUNDS_BOTH_WIDE (%ecx, SINP(%esp), $12)
38 movl COSP(%esp), %edx 38 movl COSP(%esp), %edx
39 CHECK_BOUNDS_BOTH_WIDE (%edx, COSP(%esp), $12) 39 CHECK_BOUNDS_BOTH_WIDE (%edx, COSP(%esp), $12)
40 fnstsw %ax 40 fnstsw %ax
41 testl $0x400,%eax 41 testl $0x400,%eax
42 jnz 1f 42 jnz 1f
43 fstpt (%edx) 43 fstpt (%edx)
44 fstpt (%ecx) 44 fstpt (%ecx)
45 45
46 LEAVE 46 LEAVE
47 » ret 47 » NACLRET
48 48
49 .align ALIGNARG(4) 49 .align ALIGNARG(4)
50 1: fldpi 50 1: fldpi
51 fadd %st(0) 51 fadd %st(0)
52 fxch %st(1) 52 fxch %st(1)
53 2: fprem1 53 2: fprem1
54 fnstsw %ax 54 fnstsw %ax
55 testl $0x400,%eax 55 testl $0x400,%eax
56 jnz 2b 56 jnz 2b
57 fstp %st(1) 57 fstp %st(1)
58 fsincos 58 fsincos
59 fstpt (%edx) 59 fstpt (%edx)
60 fstpt (%ecx) 60 fstpt (%ecx)
61 61
62 LEAVE 62 LEAVE
63 » ret 63 » NACLRET
64 END (BP_SYM (__sincosl)) 64 END (BP_SYM (__sincosl))
65 weak_alias (BP_SYM (__sincosl), BP_SYM (sincosl)) 65 weak_alias (BP_SYM (__sincosl), BP_SYM (sincosl))
OLDNEW
« no previous file with comments | « sysdeps/i386/fpu/s_sincosf.S ('k') | sysdeps/i386/fpu/s_sinf.S » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698