[Frontend] Remove unused includes (NFC) (#116927)
[llvm-project.git] / llvm / test / MC / ARM / vlstm-vlldm-diag.s
blob7aa48b96ff2f69fa3e71fc1601703065b6f7e46b
1 // RUN: not llvm-mc -triple=armv8.1m.main-arm-none-eabi -mcpu=generic -show-encoding %s 2>&1 >/dev/null \
2 // RUN: | FileCheck --check-prefixes=ERR %s
4 // RUN: not llvm-mc -triple=armv8.1m.main-arm-none-eabi -mcpu=generic -show-encoding %s 2>&1 >/dev/null \
5 // RUN: | FileCheck --check-prefixes=ERRT2 %s
7 vlstm r8, {d0 - d11}
8 // ERR: error: operand must be exactly {d0-d15} (T1) or {d0-d31} (T2)
9 // ERR-NEXT: vlstm r8, {d0 - d11}
11 vlldm r8, {d0 - d11}
12 // ERR: error: operand must be exactly {d0-d15} (T1) or {d0-d31} (T2)
13 // ERR-NEXT: vlldm r8, {d0 - d11}
15 vlstm r8, {d3 - d15}
16 // ERR: error: operand must be exactly {d0-d15} (T1) or {d0-d31} (T2)
17 // ERR-NEXT: vlstm r8, {d3 - d15}
19 vlldm r8, {d3 - d15}
20 // ERR: error: operand must be exactly {d0-d15} (T1) or {d0-d31} (T2)
21 // ERR-NEXT: vlldm r8, {d3 - d15}
23 vlstm r8, {d0 - d29}
24 // ERR: error: operand must be exactly {d0-d15} (T1) or {d0-d31} (T2)
25 // ERR-NEXT: vlstm r8, {d0 - d29}
27 vlldm r8, {d0 - d29}
28 // ERR: error: operand must be exactly {d0-d15} (T1) or {d0-d31} (T2)
29 // ERR-NEXT: vlldm r8, {d0 - d29}
31 vlstm r8, {d3 - d31}
32 // ERR: error: operand must be exactly {d0-d15} (T1) or {d0-d31} (T2)
33 // ERR-NEXT: vlstm r8, {d3 - d31}
35 vlldm r8, {d3 - d31}
36 // ERR: error: operand must be exactly {d0-d15} (T1) or {d0-d31} (T2)
37 // ERR-NEXT: vlldm r8, {d3 - d31}
39 vlstm r8, {d31}
40 // ERR: error: operand must be exactly {d0-d15} (T1) or {d0-d31} (T2)
41 // ERR-NEXT: vlstm r8, {d31}
43 vlldm r8, {d31}
44 // ERR: error: operand must be exactly {d0-d15} (T1) or {d0-d31} (T2)
45 // ERR-NEXT: vlldm r8, {d31}
47 vlstm r8, {d0 - d35}
48 // ERR: error: register expected
49 // ERR-NEXT: vlstm r8, {d0 - d35}
51 vlldm r8, {d0 - d35}
52 // ERR: error: register expected
53 // ERR-NEXT: vlldm r8, {d0 - d35}
55 vlstm pc
56 // ERR: error: operand must be a register in range [r0, r14]
57 // ERR-NEXT: vlstm pc
59 vlldm pc
60 // ERR: error: operand must be a register in range [r0, r14]
61 // ERR-NEXT: vlldm pc
63 vlstm pc
64 // ERRT2: error: operand must be a register in range [r0, r14]
65 // ERRT2-NEXT: vlstm pc
67 vlldm pc
68 // ERRT2: error: operand must be a register in range [r0, r14]
69 // ERRT2-NEXT: vlldm pc