[llvm-readobj] - Simplify stack-sizes.test test case.
[llvm-complete.git] / test / MC / AArch64 / dot-req.s
blob582674b1f8d944e31cb997a895bfee1c200a80a7
1 // RUN: llvm-mc -triple=aarch64-none-linux-gnu -show-encoding < %s 2>&1 | FileCheck %s
3 bar:
4 fred .req x5
5 // CHECK-NOT: ignoring redefinition of register alias 'fred'
6 fred .req x5
7 mov fred, x11
8 .unreq fred
9 fred .req w6
10 mov w1, fred
12 bob .req fred
13 ada .req w1
14 mov ada, bob
15 .unreq bob
16 .unreq fred
17 .unreq ada
18 // CHECK: mov x5, x11 // encoding: [0xe5,0x03,0x0b,0xaa]
19 // CHECK: mov w1, w6 // encoding: [0xe1,0x03,0x06,0x2a]
20 // CHECK: mov w1, w6 // encoding: [0xe1,0x03,0x06,0x2a]
22 bob .req b6
23 hanah .req h5
24 sam .req s4
25 dora .req d3
26 quentin .req q2
27 vesna .req v1
28 addv bob, v0.8b
29 mov hanah, v4.h[3]
30 fadd s0, sam, sam
31 fmov d2, dora
32 ldr quentin, [sp]
33 mov v0.8b, vesna.8b
34 // CHECK: addv b6, v0.8b // encoding: [0x06,0xb8,0x31,0x0e]
35 // CHECK: mov h5, v4.h[3] // encoding: [0x85,0x04,0x0e,0x5e]
36 // CHECK: fadd s0, s4, s4 // encoding: [0x80,0x28,0x24,0x1e]
37 // CHECK: fmov d2, d3 // encoding: [0x62,0x40,0x60,0x1e]
38 // CHECK: ldr q2, [sp] // encoding: [0xe2,0x03,0xc0,0x3d]
39 // CHECK: mov v0.8b, v1.8b // encoding: [0x20,0x1c,0xa1,0x0e]
41 peter .req x6
42 add peter, x0, x0
43 .unreq peter
44 // CHECK: add x6, x0, x0
46 zoe .req x6
47 add zoe, x0, x0
48 .unreq zoe
49 // CHECK: add x6, x0, x0