invalid.s
8.57 KB
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
# Instructions that are invalid.
#
# RUN: not llvm-mc %s -triple mips-unknown-linux-gnu -mcpu=mips32r5 -mattr=+virt 2>%t1
# RUN: FileCheck %s < %t1
# RUN: not llvm-mc %s -triple mips64-unknown-linux-gnu -mcpu=mips64r5 -mattr=+virt 2>%t1
# RUN: FileCheck %s < %t1
# RUN: not llvm-mc %s -triple mips-unknown-linux-gnu -mcpu=mips32r5 -mattr=+micromips,+virt 2>%t1
# RUN: FileCheck %s < %t1
mfgc0 # CHECK: :[[@LINE]]:3: error: too few operands for instruction
mfgc0 0 # CHECK: :[[@LINE]]:9: error: invalid operand for instruction
mfgc0 $4 # CHECK: :[[@LINE]]:3: error: too few operands for instruction
mfgc0 0, $4 # CHECK: :[[@LINE]]:9: error: invalid operand for instruction
mfgc0 0, $4, $5 # CHECK: :[[@LINE]]:9: error: invalid operand for instruction
mfgc0 $4, 0, $5 # CHECK: :[[@LINE]]:13: error: invalid operand for instruction
mfgc0 $4, $5, 8 # CHECK: :[[@LINE]]:17: error: expected 3-bit unsigned immediate
mfgc0 $4, $5, -1 # CHECK: :[[@LINE]]:17: error: expected 3-bit unsigned immediate
mfgc0 $4, $5, 0($4) # CHECK: :[[@LINE]]:18: error: invalid operand for instruction
mtgc0 # CHECK: :[[@LINE]]:3: error: too few operands for instruction
mtgc0 0 # CHECK: :[[@LINE]]:9: error: invalid operand for instruction
mtgc0 $4 # CHECK: :[[@LINE]]:3: error: too few operands for instruction
mtgc0 0, $4 # CHECK: :[[@LINE]]:9: error: invalid operand for instruction
mtgc0 0, $4, $5 # CHECK: :[[@LINE]]:9: error: invalid operand for instruction
mtgc0 $4, 0, $5 # CHECK: :[[@LINE]]:13: error: invalid operand for instruction
mtgc0 $4, $5, 8 # CHECK: :[[@LINE]]:17: error: expected 3-bit unsigned immediate
mtgc0 $4, $5, -1 # CHECK: :[[@LINE]]:17: error: expected 3-bit unsigned immediate
mtgc0 $4, $5, 0($4) # CHECK: :[[@LINE]]:18: error: invalid operand for instruction
mfhgc0 # CHECK: :[[@LINE]]:3: error: too few operands for instruction
mfhgc0 0 # CHECK: :[[@LINE]]:10: error: invalid operand for instruction
mfhgc0 $4 # CHECK: :[[@LINE]]:3: error: too few operands for instruction
mfhgc0 0, $4 # CHECK: :[[@LINE]]:10: error: invalid operand for instruction
mfhgc0 0, $4, $5 # CHECK: :[[@LINE]]:10: error: invalid operand for instruction
mfhgc0 $4, 0, $5 # CHECK: :[[@LINE]]:14: error: invalid operand for instruction
mfhgc0 $4, $5, 8 # CHECK: :[[@LINE]]:18: error: expected 3-bit unsigned immediate
mfhgc0 $4, $5, -1 # CHECK: :[[@LINE]]:18: error: expected 3-bit unsigned immediate
mfhgc0 $4, $5, 0($4) # CHECK: :[[@LINE]]:19: error: invalid operand for instruction
mthgc0 # CHECK: :[[@LINE]]:3: error: too few operands for instruction
mthgc0 0 # CHECK: :[[@LINE]]:10: error: invalid operand for instruction
mthgc0 $4 # CHECK: :[[@LINE]]:3: error: too few operands for instruction
mthgc0 0, $4 # CHECK: :[[@LINE]]:10: error: invalid operand for instruction
mthgc0 0, $4, $5 # CHECK: :[[@LINE]]:10: error: invalid operand for instruction
mthgc0 $4, 0, $5 # CHECK: :[[@LINE]]:14: error: invalid operand for instruction
mthgc0 $4, $5, 8 # CHECK: :[[@LINE]]:18: error: expected 3-bit unsigned immediate
mthgc0 $4, $5, -1 # CHECK: :[[@LINE]]:18: error: expected 3-bit unsigned immediate
mthgc0 $4, $5, 0($4) # CHECK: :[[@LINE]]:19: error: invalid operand for instruction
hypcall $4 # CHECK: :[[@LINE]]:11: error: expected 10-bit unsigned immediate
hypcall 0, $4 # CHECK: :[[@LINE]]:14: error: invalid operand for instruction
hypcall 0, $4, $5 # CHECK: :[[@LINE]]:14: error: invalid operand for instruction
hypcall $4, 0, $5 # CHECK: :[[@LINE]]:11: error: expected 10-bit unsigned immediate
hypcall $4, $5, 8 # CHECK: :[[@LINE]]:11: error: expected 10-bit unsigned immediate
hypcall $4, $5, -1 # CHECK: :[[@LINE]]:11: error: expected 10-bit unsigned immediate
hypcall $4, $5, 0($4) # CHECK: :[[@LINE]]:11: error: expected 10-bit unsigned immediate
hypcall 2048 # CHECK: :[[@LINE]]:11: error: expected 10-bit unsigned immediate
hypcall -1 # CHECK: :[[@LINE]]:11: error: expected 10-bit unsigned immediate
hypcall 0($4) # CHECK: :[[@LINE]]:12: error: unexpected token in argument list
tlbginv 0 # CHECK: :[[@LINE]]:11: error: invalid operand for instruction
tlbginv $4 # CHECK: :[[@LINE]]:11: error: invalid operand for instruction
tlbginv 0, $4 # CHECK: :[[@LINE]]:11: error: invalid operand for instruction
tlbginv 0, $4, $5 # CHECK: :[[@LINE]]:11: error: invalid operand for instruction
tlbginv $4, 0, $5 # CHECK: :[[@LINE]]:11: error: invalid operand for instruction
tlbginv $4, $5, 8 # CHECK: :[[@LINE]]:11: error: invalid operand for instruction
tlbginv $4, $5, -1 # CHECK: :[[@LINE]]:11: error: invalid operand for instruction
tlbginv $4, $5, 0($4) # CHECK: :[[@LINE]]:11: error: invalid operand for instruction
tlbginvf 0 # CHECK: :[[@LINE]]:12: error: invalid operand for instruction
tlbginvf $4 # CHECK: :[[@LINE]]:12: error: invalid operand for instruction
tlbginvf 0, $4 # CHECK: :[[@LINE]]:12: error: invalid operand for instruction
tlbginvf 0, $4, $5 # CHECK: :[[@LINE]]:12: error: invalid operand for instruction
tlbginvf $4, 0, $5 # CHECK: :[[@LINE]]:12: error: invalid operand for instruction
tlbginvf $4, $5, 8 # CHECK: :[[@LINE]]:12: error: invalid operand for instruction
tlbginvf $4, $5, -1 # CHECK: :[[@LINE]]:12: error: invalid operand for instruction
tlbginvf $4, $5, 0($4) # CHECK: :[[@LINE]]:12: error: invalid operand for instruction
tlbgp 0 # CHECK: :[[@LINE]]:9: error: invalid operand for instruction
tlbgp $4 # CHECK: :[[@LINE]]:9: error: invalid operand for instruction
tlbgp 0, $4 # CHECK: :[[@LINE]]:9: error: invalid operand for instruction
tlbgp 0, $4, $5 # CHECK: :[[@LINE]]:9: error: invalid operand for instruction
tlbgp $4, 0, $5 # CHECK: :[[@LINE]]:9: error: invalid operand for instruction
tlbgp $4, $5, 8 # CHECK: :[[@LINE]]:9: error: invalid operand for instruction
tlbgp $4, $5, -1 # CHECK: :[[@LINE]]:9: error: invalid operand for instruction
tlbgp $4, $5, 0($4) # CHECK: :[[@LINE]]:9: error: invalid operand for instruction
tlbgr 0 # CHECK: :[[@LINE]]:9: error: invalid operand for instruction
tlbgr $4 # CHECK: :[[@LINE]]:9: error: invalid operand for instruction
tlbgr 0, $4 # CHECK: :[[@LINE]]:9: error: invalid operand for instruction
tlbgr 0, $4, $5 # CHECK: :[[@LINE]]:9: error: invalid operand for instruction
tlbgr $4, 0, $5 # CHECK: :[[@LINE]]:9: error: invalid operand for instruction
tlbgr $4, $5, 8 # CHECK: :[[@LINE]]:9: error: invalid operand for instruction
tlbgr $4, $5, -1 # CHECK: :[[@LINE]]:9: error: invalid operand for instruction
tlbgr $4, $5, 0($4) # CHECK: :[[@LINE]]:9: error: invalid operand for instruction
tlbgwi 0 # CHECK: :[[@LINE]]:10: error: invalid operand for instruction
tlbgwi $4 # CHECK: :[[@LINE]]:10: error: invalid operand for instruction
tlbgwi 0, $4 # CHECK: :[[@LINE]]:10: error: invalid operand for instruction
tlbgwi 0, $4, $5 # CHECK: :[[@LINE]]:10: error: invalid operand for instruction
tlbgwi $4, 0, $5 # CHECK: :[[@LINE]]:10: error: invalid operand for instruction
tlbgwi $4, $5, 8 # CHECK: :[[@LINE]]:10: error: invalid operand for instruction
tlbgwi $4, $5, -1 # CHECK: :[[@LINE]]:10: error: invalid operand for instruction
tlbgwi $4, $5, 0($4) # CHECK: :[[@LINE]]:10: error: invalid operand for instruction
tlbgwr 0 # CHECK: :[[@LINE]]:10: error: invalid operand for instruction
tlbgwr $4 # CHECK: :[[@LINE]]:10: error: invalid operand for instruction
tlbgwr 0, $4 # CHECK: :[[@LINE]]:10: error: invalid operand for instruction
tlbgwr 0, $4, $5 # CHECK: :[[@LINE]]:10: error: invalid operand for instruction
tlbgwr $4, 0, $5 # CHECK: :[[@LINE]]:10: error: invalid operand for instruction
tlbgwr $4, $5, 8 # CHECK: :[[@LINE]]:10: error: invalid operand for instruction
tlbgwr $4, $5, -1 # CHECK: :[[@LINE]]:10: error: invalid operand for instruction
tlbgwr $4, $5, 0($4) # CHECK: :[[@LINE]]:10: error: invalid operand for instruction