Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3)

Side by Side Diff: fusl/src/math/x86_64/floorl.s

Issue 1573973002: Add a "fork" of musl as //fusl. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « fusl/src/math/x86_64/fabsl.s ('k') | fusl/src/math/x86_64/fmodl.s » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 .global floorl
2 .type floorl,@function
3 floorl:
4 fldt 8(%rsp)
5 1: mov $0x7,%al
6 1: fstcw 8(%rsp)
7 mov 9(%rsp),%ah
8 mov %al,9(%rsp)
9 fldcw 8(%rsp)
10 frndint
11 mov %ah,9(%rsp)
12 fldcw 8(%rsp)
13 ret
14
15 .global ceill
16 .type ceill,@function
17 ceill:
18 fldt 8(%rsp)
19 mov $0xb,%al
20 jmp 1b
21
22 .global truncl
23 .type truncl,@function
24 truncl:
25 fldt 8(%rsp)
26 mov $0xf,%al
27 jmp 1b
OLDNEW
« no previous file with comments | « fusl/src/math/x86_64/fabsl.s ('k') | fusl/src/math/x86_64/fmodl.s » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698