Skip to content

Commit 2cd06b9

Browse files
committed
More aarch64
1 parent 012b9dd commit 2cd06b9

File tree

6 files changed

+14722
-458
lines changed

6 files changed

+14722
-458
lines changed

asm-test/aarch64.s

Lines changed: 67 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,67 @@
1+
.text
2+
3+
adds x0, x0, x0
4+
subs x0, x0, x0
5+
adcs x0, x0, x0
6+
sbcs x0, x0, x0
7+
ands x0, x0, x0
8+
orr x0, x0, x0
9+
eor x0, x0, x0
10+
mul x0, x0, x0
11+
udiv x0, x0, x0
12+
sdiv x0, x0, x0
13+
lsl x0, x0, x0
14+
lsr x0, x0, x0
15+
asr x0, x0, x0
16+
17+
ldr x0, rel
18+
19+
rel: add x0, x0, x0
20+
21+
adds x0, x0, #0x123
22+
subs x0, x0, #0x123
23+
adcs x0, x0, xzr
24+
sbcs x0, x0, xzr
25+
26+
ands x0, x0, #1
27+
orr x0, x0, #1
28+
eor x0, x0, #1
29+
lsl x0, x0, #1
30+
lsr x0, x0, #1
31+
asr x0, x0, #1
32+
33+
ands x0, x0, #2
34+
orr x0, x0, #2
35+
eor x0, x0, #2
36+
lsl x0, x0, #2
37+
lsr x0, x0, #2
38+
asr x0, x0, #2
39+
40+
mov x0, x0
41+
mvn x0, x0
42+
negs x0, x0
43+
cmp x0, x0
44+
45+
adr x1, l1
46+
adr x1, l1
47+
l1:
48+
adr x1, l1
49+
adr x1, l1
50+
51+
blr x0
52+
br x0
53+
54+
l2:
55+
b.eq l2
56+
b.ne l2
57+
b.gt l2
58+
b.ge l2
59+
b.lt l2
60+
b.le l2
61+
b.hi l2
62+
b.hs l2
63+
b.lo l2
64+
b.ls l2
65+
66+
l3:
67+
b l3

0 commit comments

Comments
 (0)