[BINUTILS, AARCH64, 2/8] Add Tag generation instructions in Memory Tagging Extension
[deliverable/binutils-gdb.git] / gas / testsuite / gas / aarch64 / armv8_5-a-memtag.s
1 func:
2 # OP x[0,30], x[0,30], x[0,30]
3 .macro expand_3_reg op
4 \op x0, x0, x0
5 \op x27, x0, x0
6 \op x0, x27, x0
7 \op x0, x0, x27
8 \op x27, x27, x27
9 .endm
10
11 # OP x[0,30], x[0,30], #[0,30], #[0,14]
12 .macro expand_2_reg op
13 \op x0, x0, #0, #0
14 \op x27, x0, #0, #0
15 \op x0, x27, #0, #0
16 \op x27, x27, #0, #0
17 .endm
18
19 # IRG
20 expand_3_reg irg
21 irg sp, x0
22 irg x0, sp
23
24 # GMI
25 expand_3_reg gmi
26 gmi x0, sp, x0
27 gmi xzr, x0, x0
28
29 # ADDG
30 expand_2_reg addg
31 addg x0, sp, #0x3f0, #0xf
32 addg sp, x0, #0x2a0, #0xf
33
34 # SUBG
35 expand_2_reg subg
36 subg x0, sp, #0x3f0, #0xf
37 subg sp, x0, #0x3f0, #0x5
This page took 0.030677 seconds and 4 git commands to generate.