aboutsummaryrefslogtreecommitdiff
path: root/test/MC/Disassembler/Mips/micromips64r6/valid.txt
blob: 4f2325fe7ce17906bc679a772301133c664b2c7b (plain) (blame)
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
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
# RUN: llvm-mc --disassemble %s -triple=mips-unknown-linux -mcpu=mips64r6 -mattr=micromips | FileCheck %s

0x6f 0x83 # CHECK: addiur1sp $7, 4
0x6f 0x7e # CHECK: addiur2 $6, $7, -1
0x6f 0x76 # CHECK: addiur2 $6, $7, 12
0x4c 0xfc # CHECK: addius5 $7, -2
0x4f 0xff # CHECK: addiusp -1028
0x4f 0xfd # CHECK: addiusp -1032
0x4c 0x01 # CHECK: addiusp 1024
0x4c 0x03 # CHECK: addiusp 1028
0x4f 0xf9 # CHECK: addiusp -16
0xcc 0x42 # CHECK: bc16 132
0x8f 0x0a # CHECK: beqzc16 $6, 20
0xaf 0x0a # CHECK: bnezc16 $6, 20
0x65 0x88 # CHECK: lw $3, 32($gp)
0x48 0x66 # CHECK: lw $3, 24($sp)
0x6a 0x12 # CHECK: lw16 $4, 8($17)
0x29 0x82 # CHECK: lhu16 $3, 4($16)
0x09 0x94 # CHECK: lbu16 $3, 4($17)
0x09 0x9f # CHECK: lbu16 $3, -1($17)
0x45 0x2b # CHECK: jalr $9
0x45 0x23 # CHECK: jrc16 $9
0x44 0xb3 # CHECK: jrcaddiusp 20
0xf0 0x64 0x00 0x05 # CHECK: daui $3, $4, 5
0x42 0x23 0x00 0x04 # CHECK: dahi $3, 4
0x42 0x03 0x00 0x04 # CHECK: dati $3, 4
0x59 0x26 0x30 0xec # CHECK: dext $9, $6, 3, 7
0x59 0x26 0x30 0xe4 # CHECK: dextm $9, $6, 3, 7
0x59 0x26 0x30 0xd4 # CHECK: dextu $9, $6, 3, 7
0x58 0x43 0x25 0x1c # CHECK: dalign $4, $2, $3, 5
0x58 0x64 0x29 0x18 # CHECK: ddiv $3, $4, $5
0x58 0x64 0x29 0x58 # CHECK: dmod $3, $4, $5
0x58 0x64 0x29 0x98 # CHECK: ddivu $3, $4, $5
0x58 0x64 0x29 0xd8 # CHECK: dmodu $3, $4, $5
0x54 0xa4 0x18 0x30 # CHECK: add.s $f3, $f4, $f5
0x54 0xc4 0x11 0x30 # CHECK: add.d $f2, $f4, $f6
0x54 0xa4 0x18 0x70 # CHECK: sub.s $f3, $f4, $f5
0x54 0xc4 0x11 0x70 # CHECK: sub.d $f2, $f4, $f6
0x54 0xa4 0x18 0xb0 # CHECK: mul.s $f3, $f4, $f5
0x54 0xc4 0x11 0xb0 # CHECK: mul.d $f2, $f4, $f6
0x54 0xa4 0x18 0xf0 # CHECK: div.s $f3, $f4, $f5
0x54 0xc4 0x11 0xf0 # CHECK: div.d $f2, $f4, $f6
0x54 0xa4 0x19 0xb8 # CHECK: maddf.s $f3, $f4, $f5
0x54 0xa4 0x1b 0xb8 # CHECK: maddf.d $f3, $f4, $f5
0x54 0xa4 0x19 0xf8 # CHECK: msubf.s $f3, $f4, $f5
0x54 0xa4 0x1b 0xf8 # CHECK: msubf.d $f3, $f4, $f5
0x54 0xc7 0x00 0x7b # CHECK: mov.s $f6, $f7
0x54 0x86 0x20 0x7b # CHECK: mov.d $f4, $f6
0x54 0xc7 0x0b 0x7b # CHECK: neg.s $f6, $f7
0x54 0x86 0x2b 0x7b # CHECK: neg.d $f4, $f6
0x54 0x64 0x28 0x0b # CHECK: max.s $f5, $f4, $f3
0x54 0x64 0x2a 0x0b # CHECK: max.d $f5, $f4, $f3
0x54 0x64 0x28 0x2b # CHECK: maxa.s $f5, $f4, $f3
0x54 0x64 0x2a 0x2b # CHECK: maxa.d $f5, $f4, $f3
0x54 0x64 0x28 0x03 # CHECK: min.s $f5, $f4, $f3
0x54 0x64 0x2a 0x03 # CHECK: min.d $f5, $f4, $f3
0x54 0x64 0x28 0x23 # CHECK: mina.s $f5, $f4, $f3
0x54 0x64 0x2a 0x23 # CHECK: mina.d $f5, $f4, $f3
0x54 0x83 0x10 0x05 # CHECK: cmp.af.s $f2, $f3, $f4
0x54 0x83 0x10 0x45 # CHECK: cmp.un.s $f2, $f3, $f4
0x54 0x83 0x10 0x85 # CHECK: cmp.eq.s $f2, $f3, $f4
0x54 0x83 0x10 0xc5 # CHECK: cmp.ueq.s $f2, $f3, $f4
0x54 0x83 0x11 0x05 # CHECK: cmp.lt.s $f2, $f3, $f4
0x54 0x83 0x11 0x45 # CHECK: cmp.ult.s $f2, $f3, $f4
0x54 0x83 0x11 0x85 # CHECK: cmp.le.s $f2, $f3, $f4
0x54 0x83 0x11 0xc5 # CHECK: cmp.ule.s $f2, $f3, $f4
0x54 0x83 0x12 0x05 # CHECK: cmp.saf.s $f2, $f3, $f4
0x54 0x83 0x12 0x45 # CHECK: cmp.sun.s $f2, $f3, $f4
0x54 0x83 0x12 0x85 # CHECK: cmp.seq.s $f2, $f3, $f4
0x54 0x83 0x12 0xc5 # CHECK: cmp.sueq.s $f2, $f3, $f4
0x54 0x83 0x13 0x05 # CHECK: cmp.slt.s $f2, $f3, $f4
0x54 0x83 0x13 0x45 # CHECK: cmp.sult.s $f2, $f3, $f4
0x54 0x83 0x13 0x85 # CHECK: cmp.sle.s $f2, $f3, $f4
0x54 0x83 0x13 0xc5 # CHECK: cmp.sule.s $f2, $f3, $f4
0x54 0x83 0x10 0x15 # CHECK: cmp.af.d $f2, $f3, $f4
0x54 0x83 0x10 0x55 # CHECK: cmp.un.d $f2, $f3, $f4
0x54 0x83 0x10 0x95 # CHECK: cmp.eq.d $f2, $f3, $f4
0x54 0x83 0x10 0xd5 # CHECK: cmp.ueq.d $f2, $f3, $f4
0x54 0x83 0x11 0x15 # CHECK: cmp.lt.d $f2, $f3, $f4
0x54 0x83 0x11 0x55 # CHECK: cmp.ult.d $f2, $f3, $f4
0x54 0x83 0x11 0x95 # CHECK: cmp.le.d $f2, $f3, $f4
0x54 0x83 0x11 0xd5 # CHECK: cmp.ule.d $f2, $f3, $f4
0x54 0x83 0x12 0x15 # CHECK: cmp.saf.d $f2, $f3, $f4
0x54 0x83 0x12 0x55 # CHECK: cmp.sun.d $f2, $f3, $f4
0x54 0x83 0x12 0x95 # CHECK: cmp.seq.d $f2, $f3, $f4
0x54 0x83 0x12 0xd5 # CHECK: cmp.sueq.d $f2, $f3, $f4
0x54 0x83 0x13 0x15 # CHECK: cmp.slt.d $f2, $f3, $f4
0x54 0x83 0x13 0x55 # CHECK: cmp.sult.d $f2, $f3, $f4
0x54 0x83 0x13 0x95 # CHECK: cmp.sle.d $f2, $f3, $f4
0x54 0x83 0x13 0xd5 # CHECK: cmp.sule.d $f2, $f3, $f4
0x54 0x64 0x01 0x3b # CHECK: cvt.l.s $f3, $f4
0x54 0x64 0x41 0x3b # CHECK: cvt.l.d $f3, $f4
0x54 0x64 0x09 0x3b # CHECK: cvt.w.s $f3, $f4
0x54 0x64 0x49 0x3b # CHECK: cvt.w.d $f3, $f4
0x54 0x44 0x13 0x7b # CHECK: cvt.d.s $f2, $f4
0x54 0x44 0x33 0x7b # CHECK: cvt.d.w $f2, $f4
0x54 0x44 0x53 0x7b # CHECK: cvt.d.l $f2, $f4
0x54 0x44 0x1b 0x7b # CHECK: cvt.s.d $f2, $f4
0x54 0x64 0x3b 0x7b # CHECK: cvt.s.w $f3, $f4
0x54 0x64 0x5b 0x7b # CHECK: cvt.s.l $f3, $f4
0x54 0x65 0x03 0x7b # CHECK: abs.s $f3, $f5
0x54 0x44 0x23 0x7b # CHECK: abs.d $f2, $f4
0x54 0x65 0x03 0x3b # CHECK: floor.l.s $f3, $f5
0x54 0x44 0x43 0x3b # CHECK: floor.l.d $f2, $f4
0x54 0x65 0x0b 0x3b # CHECK: floor.w.s $f3, $f5
0x54 0x44 0x4b 0x3b # CHECK: floor.w.d $f2, $f4
0x54 0x65 0x13 0x3b # CHECK: ceil.l.s $f3, $f5
0x54 0x44 0x53 0x3b # CHECK: ceil.l.d $f2, $f4
0x54 0x65 0x1b 0x3b # CHECK: ceil.w.s $f3, $f5
0x54 0x44 0x5b 0x3b # CHECK: ceil.w.d $f2, $f4
0x54 0x65 0x23 0x3b # CHECK: trunc.l.s $f3, $f5
0x54 0x44 0x63 0x3b # CHECK: trunc.l.d $f2, $f4
0x54 0x65 0x2b 0x3b # CHECK: trunc.w.s $f3, $f5
0x54 0x44 0x6b 0x3b # CHECK: trunc.w.d $f2, $f4
0x54 0x65 0x0a 0x3b # CHECK: sqrt.s $f3, $f5
0x54 0x44 0x4a 0x3b # CHECK: sqrt.d $f2, $f4
0x54 0x65 0x02 0x3b # CHECK: rsqrt.s $f3, $f5
0x54 0x44 0x42 0x3b # CHECK: rsqrt.d $f2, $f4
0x01 0x28 0x00 0x3c # CHECK: teq $8, $9
0x00 0xe5 0xf0 0x3c # CHECK: teq $5, $7, 15
0x01 0x47 0x02 0x3c # CHECK: tge $7, $10
0x02 0x67 0xf2 0x3c # CHECK: tge $7, $19, 15
0x03 0x96 0x04 0x3c # CHECK: tgeu $22, $gp
0x01 0xd4 0xf4 0x3c # CHECK: tgeu $20, $14, 15
0x01 0xaf 0x08 0x3c # CHECK: tlt $15, $13
0x02 0x62 0xf8 0x3c # CHECK: tlt $2, $19, 15
0x02 0x0b 0x0a 0x3c # CHECK: tltu $11, $16
0x03 0xb0 0xfa 0x3c # CHECK: tltu $16, $sp, 15
0x02 0x26 0x0c 0x3c # CHECK: tne $6, $17
0x01 0x07 0xfc 0x3c # CHECK: tne $7, $8, 15
0x60 0x25 0xa6 0x08 # CHECK: cachee 1, 8($5)
0x00 0x64 0xf1 0x7c # CHECK: wrpgpr $3, $4
0x00 0x64 0x7b 0x3c # CHECK: wsbh $3, $4
0x65 0x88 # CHECK: lw $3, 32($gp)
0x48 0x66 # CHECK: lw $3, 24($sp)
0x6a 0x12 # CHECK: lw16 $4, 8($17)
0x29 0x82 # CHECK: lhu16 $3, 4($16)
0x09 0x94 # CHECK: lbu16 $3, 4($17)
0x09 0x9f # CHECK: lbu16 $3, -1($17)
0x46 0x1B # CHECK: break16 8
0xed 0xff # CHECK: li16 $3, -1
0x0c 0x65 # CHECK: move16 $3, $5
0x46 0x3b # CHECK: sdbbp16 8
0x04 0x3b # CHECK: subu16 $5, $16, $3
0x44 0xd8 # CHECK: xor16 $17, $5
0x45 0x22 # CHECK: lwm16 $16, $17, $ra, 8($sp)
0x89 0x84 # CHECK: sb16 $3, 4($16)
0xaa 0x14 # CHECK: sh16 $4, 8($17)
0xc8 0x9f # CHECK: sw $4, 124($sp)
0xea 0x11 # CHECK: sw16 $4, 4($17)
0xe8 0x11 # CHECK: sw16 $zero, 4($17)
0x45 0x2a # CHECK: swm16 $16, $17, $ra, 8($sp)
0x54 0x44 0x12 0x3b # CHECK: recip.s $f2, $f4
0x54 0x44 0x52 0x3b # CHECK: recip.d $f2, $f4
0x54 0x82 0x00 0x20 # CHECK: rint.s $f2, $f4
0x54 0x82 0x02 0x20 # CHECK: rint.d $f2, $f4
0x54 0x44 0x33 0x3b # CHECK: round.l.s $f2, $f4
0x54 0x44 0x73 0x3b # CHECK: round.l.d $f2, $f4
0x54 0x44 0x3b 0x3b # CHECK: round.w.s $f2, $f4
0x54 0x44 0x7b 0x3b # CHECK: round.w.d $f2, $f4
0x54 0x41 0x08 0xb8 # CHECK: sel.s $f1, $f1, $f2
0x54 0x82 0x02 0xb8 # CHECK: sel.d $f0, $f2, $f4
0x54 0x62 0x08 0x38 # CHECK: seleqz.s $f1, $f2, $f3
0x55 0x04 0x12 0x38 # CHECK: seleqz.d $f2, $f4, $f8
0x54 0x62 0x08 0x78 # CHECK: selnez.s $f1, $f2, $f3
0x55 0x04 0x12 0x78 # CHECK: selnez.d $f2, $f4, $f8
0x54 0x62 0x00 0x60 # CHECK: class.s $f2, $f3
0x54 0x82 0x02 0x60 # CHECK: class.d $f2, $f4
0x00 0x00 0xe3 0x7c # CHECK: deret
0x00 0x00 0x47 0x7c # CHECK: di
0x00 0x0f 0x47 0x7c # CHECK: di $15