1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
| // RUN: not llvm-mc -arch=amdgcn -show-encoding %s 2>&1 | FileCheck -check-prefix=GCN %s
// RUN: not llvm-mc -arch=amdgcn -mcpu=tonga -show-encoding %s 2>&1 | FileCheck -check-prefix=GCN %s
exp mrt8 v3, v2, v1, v0
// GCN: :5: error: invalid exp target
exp pos4 v3, v2, v1, v0
// GCN: :5: error: invalid exp target
exp param32 v3, v2, v1, v0
// GCN: :5: error: invalid exp target
exp invalid_target_10 v3, v2, v1, v0
// GCN: :5: error: invalid exp target
exp invalid_target_10 v3, v2, v1, v0 done
// GCN: :5: error: invalid exp target
exp invalid_target_11 v3, v2, v1, v0
// GCN: :5: error: invalid exp target
exp invalid_target_11 v3, v2, v1, v0 done
// GCN: :5: error: invalid exp target
exp mrt-1 v3, v2, v1, v0
// GCN: :5: error: failed parsing operand
exp mrtX v3, v2, v1, v0
// GCN: :5: error: failed parsing operand
exp pos-1 v3, v2, v1, v0
// GCN: :5: error: failed parsing operand
exp posX v3, v2, v1, v0
// GCN: :5: error: failed parsing operand
exp param-1 v3, v2, v1, v0
// GCN: :5: error: failed parsing operand
exp paramX v3, v2, v1, v0
// GCN: :5: error: failed parsing operand
exp invalid_target_-1 v3, v2, v1, v0
// GCN: :5: error: failed parsing operand
exp invalid_target_X v3, v2, v1, v0
// GCN: :5: error: failed parsing operand
exp mrt0 s0, v0, v0, v0
// GCN: 10: error: invalid operand for instruction
exp mrt0 v0, s0, v0, v0
// GCN: 14: error: invalid operand for instruction
exp mrt0 v0, v0, s0, v0
// GCN: 18: error: invalid operand for instruction
exp mrt0 v0, v0, v0, s0
// GCN: 22: error: invalid operand for instruction
exp mrt0 v[0:1], v0, v0, v0
// GCN: 10: error: invalid operand for instruction
exp mrt0 v0, v[0:1], v0, v0
// GCN: 14: error: invalid operand for instruction
exp mrt0 v0, v0, v[0:1], v0
// GCN: 18: error: invalid operand for instruction
exp mrt0 v0, v0, v0, v[0:1]
// GCN: 22: error: invalid operand for instruction
exp mrt0 1.0, v0, v0, v0
// GCN: 10: error: invalid operand for instruction
exp mrt0 v0, 1.0, v0, v0
// GCN: 14: error: invalid operand for instruction
exp mrt0 v0, v0, 1.0, v0
// GCN: 18: error: invalid operand for instruction
exp mrt0 v0, v0, v0, 1.0
// GCN: 22: error: invalid operand for instruction
exp mrt0 7, v0, v0, v0
// GCN: 10: error: invalid operand for instruction
exp mrt0 v0, 7, v0, v0
// GCN: 14: error: invalid operand for instruction
exp mrt0 v0, v0, 7, v0
// GCN: 18: error: invalid operand for instruction
exp mrt0 v0, v0, v0, 7
// GCN: 22: error: invalid operand for instruction
exp mrt0 0x12345678, v0, v0, v0
// GCN: 10: error: invalid operand for instruction
exp mrt0 v0, 0x12345678, v0, v0
// GCN: 14: error: invalid operand for instruction
exp mrt0 v0, v0, 0x12345678, v0
// GCN: 18: error: invalid operand for instruction
exp mrt0 v0, v0, v0, 0x12345678
// GCN: 22: error: invalid operand for instruction
|