repo.or.cz
/
glibc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Mon Dec 2 15:32:15 1996 Ulrich Drepper <drepper@cygnus.com>
[glibc.git]
/
sysdeps
/
libm-i387
/
s_sinl.S
blob
2872334881722674a02c0622d7355701e79101df
1
/*
2
* Written by J.T. Conklin <jtc@netbsd.org>.
3
* Public domain.
4
*
5
* Adapted for `long double' by Ulrich Drepper <drepper@cygnus.com>.
6
*/
7
8
#include <machine/asm.h>
9
10
RCSID("$NetBSD: $")
11
12
ENTRY(__sinl)
13
fldt 4(%esp)
14
fsin
15
fnstsw %ax
16
andw $0x400,%ax
17
jnz 1f
18
ret
19
1: fldpi
20
fadd %st(0)
21
fxch %st(1)
22
2: fprem1
23
fnstsw %ax
24
andw $0x400,%ax
25
jnz 2b
26
fstp %st(1)
27
fsin
28
ret
29
PSEUDO_END (__sinl)
30
weak_alias (__sinl, sinl)