xref: /third_party/musl/src/math/i386/atan2f.s
  • Home
  • History
  • Annotate Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
  • only in /third_party/musl/src/math/i386/
1570af302Sopenharmony_ci.global atan2f
2570af302Sopenharmony_ci.type atan2f,@function
3570af302Sopenharmony_ciatan2f:
4570af302Sopenharmony_ci	flds 4(%esp)
5570af302Sopenharmony_ci	flds 8(%esp)
6570af302Sopenharmony_ci	fpatan
7570af302Sopenharmony_ci	fstps 4(%esp)
8570af302Sopenharmony_ci	flds 4(%esp)
9570af302Sopenharmony_ci	mov 4(%esp),%eax
10570af302Sopenharmony_ci	add %eax,%eax
11570af302Sopenharmony_ci	cmp $0x01000000,%eax
12570af302Sopenharmony_ci	jae 1f
13570af302Sopenharmony_ci		# subnormal x, return x with underflow
14570af302Sopenharmony_ci	fld %st(0)
15570af302Sopenharmony_ci	fmul %st(1)
16570af302Sopenharmony_ci	fstps 4(%esp)
17570af302Sopenharmony_ci1:	ret
18

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