xref: /third_party/musl/src/math/i386/atan2.s
  • Home
  • History
  • Annotate Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
  • only in /third_party/musl/src/math/i386/
1570af302Sopenharmony_ci.global atan2
2570af302Sopenharmony_ci.type atan2,@function
3570af302Sopenharmony_ciatan2:
4570af302Sopenharmony_ci	fldl 4(%esp)
5570af302Sopenharmony_ci	fldl 12(%esp)
6570af302Sopenharmony_ci	fpatan
7570af302Sopenharmony_ci	fstpl 4(%esp)
8570af302Sopenharmony_ci	fldl 4(%esp)
9570af302Sopenharmony_ci	mov 8(%esp),%eax
10570af302Sopenharmony_ci	add %eax,%eax
11570af302Sopenharmony_ci	cmp $0x00200000,%eax
12570af302Sopenharmony_ci	jae 1f
13570af302Sopenharmony_ci		# subnormal x, return x with underflow
14570af302Sopenharmony_ci	fsts 4(%esp)
15570af302Sopenharmony_ci1:	ret
16

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