File:  [DVB] / dietlibc / i386 / tan.S
Revision 1.6: download - view: text, annotated - select for diffs
Fri Dec 17 19:22:11 2004 UTC (19 years, 5 months ago) by leitner
Branches: MAIN
CVS tags: HEAD
  support libm.so (John K. Hohm)
  hack rpc/xdr.h to work with gcc 4 (Andreas Jochens via Gerrit Pape)

#include "PIC.h"

.text

.global tanf,tan,tanl
.type   tanf,@function
.type   tan,@function
.type   tanl,@function
tanf:
        flds    4(%esp)
	jmp __tan
tan:
        fldl    4(%esp)
__tan:
#ifdef __DYN_LIB
	PIC_SAVE
	PIC_INIT
	call	__fmod2pi@PLT
	PIC_RESTORE
#else
	call	__fmod2pi
#endif
        fsincos
        fdivrp
        ret
tanl:
        fldt    4(%esp)
	jmp __tan

.ende:
.size    tan,.ende-tan
.size    tanf,.ende-tanf
.size    tanl,.ende-tanl

LinuxTV legacy CVS <linuxtv.org/cvs>