| OLD | NEW |
| 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 Loading... |
| 37 CHECK_BOUNDS_BOTH_WIDE (%ecx, SINP(%esp), $8) | 37 CHECK_BOUNDS_BOTH_WIDE (%ecx, SINP(%esp), $8) |
| 38 movl COSP(%esp), %edx | 38 movl COSP(%esp), %edx |
| 39 CHECK_BOUNDS_BOTH_WIDE (%edx, COSP(%esp), $8) | 39 CHECK_BOUNDS_BOTH_WIDE (%edx, COSP(%esp), $8) |
| 40 fnstsw %ax | 40 fnstsw %ax |
| 41 testl $0x400,%eax | 41 testl $0x400,%eax |
| 42 jnz 1f | 42 jnz 1f |
| 43 fstpl (%edx) | 43 fstpl (%edx) |
| 44 fstpl (%ecx) | 44 fstpl (%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 fstpl (%edx) | 59 fstpl (%edx) |
| 60 fstpl (%ecx) | 60 fstpl (%ecx) |
| 61 | 61 |
| 62 LEAVE | 62 LEAVE |
| 63 » ret | 63 » NACLRET |
| 64 END (BP_SYM (__sincos)) | 64 END (BP_SYM (__sincos)) |
| 65 weak_alias (BP_SYM (__sincos), BP_SYM (sincos)) | 65 weak_alias (BP_SYM (__sincos), BP_SYM (sincos)) |
| OLD | NEW |