[obj2yaml] - Fix a comment. NFC.
[llvm-complete.git] / test / MC / AMDGPU / exp-err.s
blob22d3edf0e0318eb25be073bac879bbcf55370d3e
1 // RUN: not llvm-mc -arch=amdgcn -show-encoding %s 2>&1 | FileCheck -check-prefix=GCN %s
2 // RUN: not llvm-mc -arch=amdgcn -mcpu=tonga -show-encoding %s 2>&1 | FileCheck -check-prefix=GCN %s
4 exp mrt8 v3, v2, v1, v0
5 // GCN: :5: error: invalid exp target
7 exp pos4 v3, v2, v1, v0
8 // GCN: :5: error: invalid exp target
10 exp param32 v3, v2, v1, v0
11 // GCN: :5: error: invalid exp target
13 exp invalid_target_10 v3, v2, v1, v0
14 // GCN: :5: error: invalid exp target
16 exp invalid_target_10 v3, v2, v1, v0 done
17 // GCN: :5: error: invalid exp target
19 exp invalid_target_11 v3, v2, v1, v0
20 // GCN: :5: error: invalid exp target
22 exp invalid_target_11 v3, v2, v1, v0 done
23 // GCN: :5: error: invalid exp target
25 exp mrt-1 v3, v2, v1, v0
26 // GCN: :5: error: failed parsing operand
28 exp mrtX v3, v2, v1, v0
29 // GCN: :5: error: failed parsing operand
31 exp pos-1 v3, v2, v1, v0
32 // GCN: :5: error: failed parsing operand
34 exp posX v3, v2, v1, v0
35 // GCN: :5: error: failed parsing operand
37 exp param-1 v3, v2, v1, v0
38 // GCN: :5: error: failed parsing operand
40 exp paramX v3, v2, v1, v0
41 // GCN: :5: error: failed parsing operand
43 exp invalid_target_-1 v3, v2, v1, v0
44 // GCN: :5: error: failed parsing operand
46 exp invalid_target_X v3, v2, v1, v0
47 // GCN: :5: error: failed parsing operand
49 exp mrt0 s0, v0, v0, v0
50 // GCN: 10: error: invalid operand for instruction
52 exp mrt0 v0, s0, v0, v0
53 // GCN: 14: error: invalid operand for instruction
55 exp mrt0 v0, v0, s0, v0
56 // GCN: 18: error: invalid operand for instruction
58 exp mrt0 v0, v0, v0, s0
59 // GCN: 22: error: invalid operand for instruction
61 exp mrt0 v[0:1], v0, v0, v0
62 // GCN: 10: error: invalid operand for instruction
64 exp mrt0 v0, v[0:1], v0, v0
65 // GCN: 14: error: invalid operand for instruction
67 exp mrt0 v0, v0, v[0:1], v0
68 // GCN: 18: error: invalid operand for instruction
70 exp mrt0 v0, v0, v0, v[0:1]
71 // GCN: 22: error: invalid operand for instruction
73 exp mrt0 1.0, v0, v0, v0
74 // GCN: 10: error: invalid operand for instruction
76 exp mrt0 v0, 1.0, v0, v0
77 // GCN: 14: error: invalid operand for instruction
79 exp mrt0 v0, v0, 1.0, v0
80 // GCN: 18: error: invalid operand for instruction
82 exp mrt0 v0, v0, v0, 1.0
83 // GCN: 22: error: invalid operand for instruction
85 exp mrt0 7, v0, v0, v0
86 // GCN: 10: error: invalid operand for instruction
88 exp mrt0 v0, 7, v0, v0
89 // GCN: 14: error: invalid operand for instruction
91 exp mrt0 v0, v0, 7, v0
92 // GCN: 18: error: invalid operand for instruction
94 exp mrt0 v0, v0, v0, 7
95 // GCN: 22: error: invalid operand for instruction
97 exp mrt0 0x12345678, v0, v0, v0
98 // GCN: 10: error: invalid operand for instruction
100 exp mrt0 v0, 0x12345678, v0, v0
101 // GCN: 14: error: invalid operand for instruction
103 exp mrt0 v0, v0, 0x12345678, v0
104 // GCN: 18: error: invalid operand for instruction
106 exp mrt0 v0, v0, v0, 0x12345678
107 // GCN: 22: error: invalid operand for instruction