repo.or.cz
/
glibc
/
history.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Define socklen_t.
[glibc/history.git]
/
sysdeps
/
libm-i387
/
s_sinl.S
blob
3e215de5e19faf55d5944e820ea9afcc9672fb1c
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
testl $0x400,%eax
17
jnz 1f
18
ret
19
.align ALIGNARG(4)
20
1: fldpi
21
fadd %st(0)
22
fxch %st(1)
23
2: fprem1
24
fnstsw %ax
25
testl $0x400,%eax
26
jnz 2b
27
fstp %st(1)
28
fsin
29
ret
30
END (__sinl)
31
weak_alias (__sinl, sinl)