xref: /third_party/musl/src/math/x86_64/floorl.s
  • Home
  • History
  • Annotate Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
  • only in /third_party/musl/src/math/x86_64/
1570af302Sopenharmony_ci.global floorl
2570af302Sopenharmony_ci.type floorl,@function
3570af302Sopenharmony_cifloorl:
4570af302Sopenharmony_ci	fldt 8(%rsp)
5570af302Sopenharmony_ci1:	mov $0x7,%al
6570af302Sopenharmony_ci1:	fstcw 8(%rsp)
7570af302Sopenharmony_ci	mov 9(%rsp),%ah
8570af302Sopenharmony_ci	mov %al,9(%rsp)
9570af302Sopenharmony_ci	fldcw 8(%rsp)
10570af302Sopenharmony_ci	frndint
11570af302Sopenharmony_ci	mov %ah,9(%rsp)
12570af302Sopenharmony_ci	fldcw 8(%rsp)
13570af302Sopenharmony_ci	ret
14570af302Sopenharmony_ci
15570af302Sopenharmony_ci.global ceill
16570af302Sopenharmony_ci.type ceill,@function
17570af302Sopenharmony_ciceill:
18570af302Sopenharmony_ci	fldt 8(%rsp)
19570af302Sopenharmony_ci	mov $0xb,%al
20570af302Sopenharmony_ci	jmp 1b
21570af302Sopenharmony_ci
22570af302Sopenharmony_ci.global truncl
23570af302Sopenharmony_ci.type truncl,@function
24570af302Sopenharmony_citruncl:
25570af302Sopenharmony_ci	fldt 8(%rsp)
26570af302Sopenharmony_ci	mov $0xf,%al
27570af302Sopenharmony_ci	jmp 1b
28

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