2 * Written by J.T. Conklin <jtc@netbsd.org>.
6 #include <machine/asm.h>
8 RCSID("$NetBSD: e_asin.S,v 1.4 1995/05/08 23:45:40 jtc Exp $")
10 .section .rodata.cst8,"aM",@progbits,8
14 dbl_min: .byte 0, 0, 0, 0, 0, 0, 0x10, 0
15 ASM_SIZE_DIRECTIVE(dbl_min)
18 # define MO(op) op##@GOTOFF(%ecx)
25 /* asin = atan (x / sqrt((1-x) (1+x))) */
34 fld1 /* 1 : 1 - x : x */
35 fadd %st(2) /* 1 + x : 1 - x : x */
37 fsqrt /* sqrt (1 - x^2) */
47 cfi_adjust_cfa_offset (8)
52 cfi_adjust_cfa_offset (-8)
55 strong_alias (__ieee754_asin, __asin_finite)