1# Instructions that should be valid but currently fail for known reasons (e.g. 2# they aren't implemented yet). 3# This test is set up to XPASS if any instruction generates an encoding. 4# 5# RUN: not llvm-mc %s -triple=mips-unknown-linux -show-encoding -mcpu=mips32r3 | not FileCheck %s 6# CHECK-NOT: encoding 7# XFAIL: * 8 9 .set noat 10 abs.ps $f22,$f8 11 absq_s.ph $8,$a0 12 absq_s.qb $15,$s1 13 absq_s.w $s3,$ra 14 add.ps $f25,$f27,$f13 15 addq.ph $s1,$15,$at 16 addq_s.ph $s3,$s6,$s2 17 addq_s.w $a2,$8,$at 18 addqh.ph $s4,$14,$s1 19 addqh.w $s7,$s7,$k1 20 addqh_r.ph $sp,$25,$s8 21 addqh_r.w $8,$v1,$zero 22 addsc $s8,$15,$12 23 addu.ph $a2,$14,$s3 24 addu.qb $s6,$v1,$v1 25 addu_s.ph $a3,$s3,$gp 26 addu_s.qb $s4,$s8,$s1 27 adduh.qb $a1,$a1,$at 28 adduh_r.qb $a0,$9,$12 29 addwc $k0,$s6,$s7 30 alnv.ps $f12,$f18,$f30,$12 31 and.v $w10,$w25,$w29 32 bitrev $14,$at 33 bmnz.v $w15,$w2,$w28 34 bmz.v $w13,$w11,$w21 35 bsel.v $w28,$w7,$w0 36 c.eq.d $fcc1,$f15,$f15 37 c.eq.ps $fcc5,$f0,$f9 38 c.eq.s $fcc5,$f24,$f17 39 c.f.d $fcc4,$f11,$f21 40 c.f.ps $fcc6,$f11,$f11 41 c.f.s $fcc4,$f30,$f7 42 c.le.d $fcc4,$f18,$f1 43 c.le.ps $fcc1,$f7,$f20 44 c.le.s $fcc6,$f24,$f4 45 c.lt.d $fcc3,$f9,$f3 46 c.lt.ps $f19,$f5 47 c.lt.s $fcc2,$f17,$f14 48 c.nge.d $fcc5,$f21,$f16 49 c.nge.ps $f1,$f26 50 c.nge.s $fcc3,$f11,$f8 51 c.ngl.ps $f21,$f30 52 c.ngl.s $fcc2,$f31,$f23 53 c.ngle.ps $fcc7,$f12,$f20 54 c.ngle.s $fcc2,$f18,$f23 55 c.ngt.d $fcc4,$f24,$f7 56 c.ngt.ps $fcc5,$f30,$f6 57 c.ngt.s $fcc5,$f8,$f13 58 c.ole.d $fcc2,$f16,$f31 59 c.ole.ps $fcc7,$f21,$f8 60 c.ole.s $fcc3,$f7,$f20 61 c.olt.d $fcc4,$f19,$f28 62 c.olt.ps $fcc3,$f7,$f16 63 c.olt.s $fcc6,$f20,$f7 64 c.seq.d $fcc4,$f31,$f7 65 c.seq.ps $fcc6,$f31,$f14 66 c.seq.s $fcc7,$f1,$f25 67 c.sf.ps $fcc6,$f4,$f6 68 c.ueq.d $fcc4,$f13,$f25 69 c.ueq.ps $fcc1,$f5,$f29 70 c.ueq.s $fcc6,$f3,$f30 71 c.ule.d $fcc7,$f25,$f18 72 c.ule.ps $fcc6,$f17,$f3 73 c.ule.s $fcc7,$f21,$f30 74 c.ult.d $fcc6,$f6,$f17 75 c.ult.ps $fcc7,$f14,$f0 76 c.ult.s $fcc7,$f24,$f10 77 c.un.d $fcc6,$f23,$f24 78 c.un.ps $fcc4,$f2,$f26 79 c.un.s $fcc1,$f30,$f4 80 ceil.l.d $f1,$f3 81 ceil.l.s $f18,$f13 82 cfcmsa $s6,$19 83 cmp.eq.ph $s7,$14 84 cmp.le.ph $8,$14 85 cmp.lt.ph $k0,$sp 86 cmpgdu.eq.qb $s3,$zero,$k0 87 cmpgdu.le.qb $v1,$15,$s2 88 cmpgdu.lt.qb $s0,$gp,$sp 89 cmpgu.eq.qb $14,$s6,$s8 90 cmpgu.le.qb $9,$a3,$s4 91 cmpgu.lt.qb $sp,$at,$8 92 cmpu.eq.qb $v0,$24 93 cmpu.le.qb $s1,$a1 94 cmpu.lt.qb $at,$a3 95 ctcmsa $31,$s7 96 cvt.d.l $f4,$f16 97 cvt.ps.s $f3,$f18,$f19 98 cvt.s.l $f15,$f30 99 cvt.s.pl $f30,$f1 100 cvt.s.pu $f14,$f25 101 dmt $k0 102 dpa.w.ph $ac1,$s7,$k0 103 dpaq_s.w.ph $ac2,$a0,$13 104 dpaq_sa.l.w $ac0,$a2,$14 105 dpaqx_s.w.ph $ac3,$a0,$24 106 dpaqx_sa.w.ph $ac1,$zero,$s5 107 dpau.h.qbl $ac1,$10,$24 108 dpau.h.qbr $ac1,$s7,$s6 109 dpax.w.ph $ac3,$a0,$k0 110 dps.w.ph $ac1,$a3,$a1 111 dpsq_s.w.ph $ac0,$gp,$k0 112 dpsq_sa.l.w $ac0,$a3,$15 113 dpsqx_s.w.ph $ac3,$13,$a3 114 dpsqx_sa.w.ph $ac3,$sp,$s2 115 dpsu.h.qbl $ac2,$14,$10 116 dpsu.h.qbr $ac2,$a1,$s6 117 dpsx.w.ph $ac0,$s7,$gp 118 dvpe $s6 119 emt $8 120 evpe $v0 121 extpdpv $s6,$ac0,$s8 122 extpv $13,$ac0,$14 123 extrv.w $8,$ac3,$at 124 extrv_r.w $8,$ac1,$s6 125 extrv_rs.w $gp,$ac1,$s6 126 extrv_s.h $s2,$ac1,$14 127 fclass.d $w14,$w27 128 fclass.w $w19,$w28 129 fexupl.d $w10,$w29 130 fexupl.w $w12,$w27 131 fexupr.d $w31,$w15 132 fexupr.w $w29,$w12 133 ffint_s.d $w1,$w30 134 ffint_s.w $w16,$w14 135 ffint_u.d $w23,$w18 136 ffint_u.w $w19,$w12 137 ffql.d $w2,$w3 138 ffql.w $w9,$w0 139 ffqr.d $w25,$w24 140 ffqr.w $w10,$w6 141 fill.b $w9,$v1 142 fill.h $w9,$8 143 fill.w $w31,$15 144 flog2.d $w12,$w16 145 flog2.w $w19,$w23 146 floor.l.d $f26,$f7 147 floor.l.s $f12,$f5 148 fork $s2,$8,$a0 149 frcp.d $w12,$w4 150 frcp.w $w30,$w8 151 frint.d $w20,$w8 152 frint.w $w11,$w29 153 frsqrt.d $w29,$w2 154 frsqrt.w $w9,$w8 155 fsqrt.d $w3,$w1 156 fsqrt.w $w5,$w15 157 ftint_s.d $w31,$w26 158 ftint_s.w $w27,$w14 159 ftint_u.d $w5,$w31 160 ftint_u.w $w12,$w29 161 ftrunc_s.d $w4,$w22 162 ftrunc_s.w $w24,$w7 163 ftrunc_u.d $w20,$w25 164 ftrunc_u.w $w7,$w26 165 insv $s2,$at 166 iret 167 lbe $14,122($9) 168 lbue $11,-108($10) 169 lbux $9,$14($v0) 170 lhe $s6,219($v1) 171 lhue $gp,118($11) 172 lhx $sp,$k0($15) 173 lle $gp,-237($ra) 174 lwe $ra,-145($14) 175 lwle $11,-42($11) 176 lwre $sp,-152($24) 177 lwx $12,$12($s4) 178 madd.ps $f22,$f3,$f14,$f3 179 maq_s.w.phl $ac2,$25,$11 180 maq_s.w.phr $ac0,$10,$25 181 maq_sa.w.phl $ac3,$a1,$v1 182 maq_sa.w.phr $ac1,$at,$10 183 mfgc0 $s6,c0_datahi1 184 mflo $9,$ac2 185 modsub $a3,$12,$a3 186 mov.ps $f22,$f17 187 move.v $w8,$w17 188 movf.ps $f10,$f28,$fcc6 189 movn.ps $f31,$f31,$s3 190 movt.ps $f20,$f25,$fcc2 191 movz.ps $f18,$f17,$ra 192 msub $ac2,$sp,$14 193 msub.ps $f12,$f14,$f29,$f17 194 msubu $ac2,$a1,$24 195 mtc0 $9,c0_datahi1 196 mtgc0 $s4,$21,7 197 mthi $v0,$ac1 198 mthlip $a3,$ac0 199 mul.ph $s4,$24,$s0 200 mul.ps $f14,$f0,$f16 201 mul_s.ph $10,$14,$15 202 muleq_s.w.phl $11,$s4,$s4 203 muleq_s.w.phr $s6,$a0,$s8 204 muleu_s.ph.qbl $a2,$14,$8 205 muleu_s.ph.qbr $a1,$ra,$9 206 mulq_rs.ph $s2,$14,$15 207 mulq_rs.w $at,$s4,$25 208 mulq_s.ph $s0,$k1,$15 209 mulq_s.w $9,$a3,$s0 210 mulsa.w.ph $ac1,$s4,$s6 211 mulsaq_s.w.ph $ac0,$ra,$s2 212 neg.ps $f19,$f13 213 nloc.b $w12,$w30 214 nloc.d $w16,$w7 215 nloc.h $w21,$w17 216 nloc.w $w17,$w16 217 nlzc.b $w12,$w7 218 nlzc.d $w14,$w14 219 nlzc.h $w24,$w24 220 nlzc.w $w10,$w4 221 nmadd.ps $f27,$f4,$f9,$f25 222 nmsub.ps $f6,$f12,$f14,$f17 223 nor.v $w20,$w20,$w15 224 or.v $w13,$w23,$w12 225 packrl.ph $ra,$24,$14 226 pcnt.b $w30,$w15 227 pcnt.d $w5,$w16 228 pcnt.h $w20,$w24 229 pcnt.w $w22,$w20 230 pick.ph $ra,$a2,$gp 231 pick.qb $11,$a0,$gp 232 pll.ps $f25,$f9,$f30 233 plu.ps $f1,$f26,$f29 234 preceq.w.phl $s8,$gp 235 preceq.w.phr $s5,$15 236 precequ.ph.qbl $s7,$ra 237 precequ.ph.qbla $a0,$9 238 precequ.ph.qbr $ra,$s3 239 precequ.ph.qbra $24,$8 240 preceu.ph.qbl $sp,$8 241 preceu.ph.qbla $s6,$11 242 preceu.ph.qbr $gp,$s1 243 preceu.ph.qbra $k1,$s0 244 precr.qb.ph $v0,$12,$s8 245 precrq.ph.w $14,$s8,$24 246 precrq.qb.ph $a2,$12,$12 247 precrq_rs.ph.w $a1,$k0,$a3 248 precrqu_s.qb.ph $zero,$gp,$s5 249 pul.ps $f9,$f30,$f26 250 puu.ps $f24,$f9,$f2 251 raddu.w.qb $25,$s3 252 rdpgpr $s3,$9 253 recip.d $f19,$f6 254 recip.s $f3,$f30 255 repl.ph $at,-307 256 replv.ph $v1,$s7 257 replv.qb $25,$12 258 rorv $13,$a3,$s5 259 round.l.d $f12,$f1 260 round.l.s $f25,$f5 261 rsqrt.d $f3,$f28 262 rsqrt.s $f4,$f8 263 sbe $s7,33($s1) 264 sce $sp,189($10) 265 she $24,105($v0) 266 shilo $ac1,26 267 shilov $ac2,$10 268 shllv.ph $10,$s0,$s0 269 shllv.qb $gp,$v1,$zero 270 shllv_s.ph $k1,$at,$13 271 shllv_s.w $s1,$ra,$k0 272 shrav.ph $25,$s2,$s1 273 shrav.qb $zero,$24,$11 274 shrav_r.ph $s3,$11,$25 275 shrav_r.qb $a0,$sp,$s5 276 shrav_r.w $s7,$s4,$s6 277 shrlv.ph $14,$10,$9 278 shrlv.qb $a2,$s2,$11 279 sub.ps $f5,$f14,$f26 280 subq.ph $ra,$9,$s8 281 subq_s.ph $13,$s8,$s5 282 subq_s.w $k1,$a2,$a3 283 subqh.ph $10,$at,$9 284 subqh.w $v0,$a2,$zero 285 subqh_r.ph $a0,$12,$s6 286 subqh_r.w $10,$a2,$gp 287 subu.ph $9,$s6,$s4 288 subu.qb $s6,$a2,$s6 289 subu_s.ph $v1,$a1,$s3 290 subu_s.qb $s1,$at,$ra 291 subuh.qb $zero,$gp,$gp 292 subuh_r.qb $s4,$s8,$s6 293 swe $24,94($k0) 294 swle $v1,-209($gp) 295 swre $k0,-202($s2) 296 tlbginv 297 tlbginvf 298 tlbgp 299 tlbgr 300 tlbgwi 301 tlbgwr 302 tlbinv 303 tlbinvf 304 trunc.l.d $f23,$f23 305 trunc.l.s $f28,$f31 306 wrpgpr $zero,$13 307 xor.v $w20,$w21,$w30 308 yield $v1,$s0 309