repo.or.cz
/
glibc
/
nacl-glibc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Override elf_nacl.xr linker script so that libc_pic.os links correctly
[glibc/nacl-glibc.git]
/
sysdeps
/
i386
/
fpu
/
s_tanf.S
blob
00f95f9d3404b61c83f6e5dba00ccfea5e00fed0
1
/*
2
* Written by J.T. Conklin <jtc@netbsd.org>.
3
* Public domain.
4
*/
5
6
#include <machine/asm.h>
7
8
RCSID("$NetBSD: s_tanf.S,v 1.3 1995/05/09 00:31:09 jtc Exp $")
9
10
ENTRY(__tanf)
11
flds 4(%esp)
12
fptan
13
fnstsw %ax
14
testl $0x400,%eax
15
jnz 1f
16
fstp %st(0)
17
popl %ecx; nacljmp %ecx
18
1: fldpi
19
fadd %st(0)
20
fxch %st(1)
21
2: fprem1
22
fstsw %ax
23
testl $0x400,%eax
24
jnz 2b
25
fstp %st(1)
26
fptan
27
fstp %st(0)
28
popl %ecx; nacljmp %ecx
29
END (__tanf)
30
weak_alias (__tanf, tanf)