xref: /third_party/musl/src/math/i386/asin.s
  • Home
  • History
  • Annotate Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
  • only in /third_party/musl/src/math/i386/
1570af302Sopenharmony_ci.global asin
2570af302Sopenharmony_ci.type asin,@function
3570af302Sopenharmony_ciasin:
4570af302Sopenharmony_ci	fldl 4(%esp)
5570af302Sopenharmony_ci	mov 8(%esp),%eax
6570af302Sopenharmony_ci	add %eax,%eax
7570af302Sopenharmony_ci	cmp $0x00200000,%eax
8570af302Sopenharmony_ci	jb 1f
9570af302Sopenharmony_ci	fld %st(0)
10570af302Sopenharmony_ci	fld1
11570af302Sopenharmony_ci	fsub %st(0),%st(1)
12570af302Sopenharmony_ci	fadd %st(2)
13570af302Sopenharmony_ci	fmulp
14570af302Sopenharmony_ci	fsqrt
15570af302Sopenharmony_ci	fpatan
16570af302Sopenharmony_ci	fstpl 4(%esp)
17570af302Sopenharmony_ci	fldl 4(%esp)
18570af302Sopenharmony_ci	ret
19570af302Sopenharmony_ci		# subnormal x, return x with underflow
20570af302Sopenharmony_ci1:	fsts 4(%esp)
21570af302Sopenharmony_ci	ret
22

Indexes created Thu Nov 07 10:32:03 CST 2024