brintos

brintos / llvm-project-archived public Read only

0
0
Text · 12.5 KiB · 550d79c Raw
537 lines · plain
1# RUN: not llvm-mc -triple=riscv32 --mattr=+xcvalu %s 2>&1 \2# RUN:        | FileCheck %s --check-prefixes=CHECK-ERROR3 4cv.addrnr t0, t1, 05# CHECK-ERROR: invalid operand for instruction6 7cv.addrnr t0, 0, t28# CHECK-ERROR: invalid operand for instruction9 10cv.addrnr 0, t1, t211# CHECK-ERROR: invalid operand for instruction12 13cv.addrnr t0, t114# CHECK-ERROR: too few operands for instruction15 16cv.addrnr t0, t1, t2, a017# CHECK-ERROR: invalid operand for instruction18 19cv.addun t0, t1, t2, -120# CHECK-ERROR: immediate must be an integer in the range [0, 31]21 22cv.addun t0, t1, t2, 3223# CHECK-ERROR: immediate must be an integer in the range [0, 31]24 25cv.addun t0, t1, t2, a026# CHECK-ERROR: immediate must be an integer in the range [0, 31]27 28cv.addun t0, t1, 0, 029# CHECK-ERROR: invalid operand for instruction30 31cv.addun t0, 0, t2, 032# CHECK-ERROR: invalid operand for instruction33 34cv.addun 0, t1, t2, 035# CHECK-ERROR: invalid operand for instruction36 37cv.addun t0, t1, t238# CHECK-ERROR: too few operands for instruction39 40cv.addun t0, t1, t2, 0, a041# CHECK-ERROR: invalid operand for instruction42 43cv.extbz t0, 044# CHECK-ERROR: invalid operand for instruction45 46cv.extbz 0, t147# CHECK-ERROR: invalid operand for instruction48 49cv.extbz t050# CHECK-ERROR: too few operands for instruction51 52cv.extbz t0, t1, t253# CHECK-ERROR: invalid operand for instruction54 55cv.addnr t0, t1, 056# CHECK-ERROR: invalid operand for instruction57 58cv.addnr t0, 0, t259# CHECK-ERROR: invalid operand for instruction60 61cv.addnr 0, t1, t262# CHECK-ERROR: invalid operand for instruction63 64cv.addnr t0, t165# CHECK-ERROR: too few operands for instruction66 67cv.addnr t0, t1, t2, a068# CHECK-ERROR: invalid operand for instruction69 70cv.clipu t0, t1, -171# CHECK-ERROR: immediate must be an integer in the range [0, 31]72 73cv.clipu t0, t1, 3274# CHECK-ERROR: immediate must be an integer in the range [0, 31]75 76cv.clipu t0, t1, a077# CHECK-ERROR: immediate must be an integer in the range [0, 31]78 79cv.clipu t0, 0, 080# CHECK-ERROR: invalid operand for instruction81 82cv.clipu 0, t1, 083# CHECK-ERROR: invalid operand for instruction84 85cv.clipu t0, t186# CHECK-ERROR: too few operands for instruction87 88cv.clipu t0, t1, 0, 089# CHECK-ERROR: invalid operand for instruction90 91cv.minu t0, t1, 092# CHECK-ERROR: invalid operand for instruction93 94cv.minu t0, 0, t295# CHECK-ERROR: invalid operand for instruction96 97cv.minu 0, t1, t298# CHECK-ERROR: invalid operand for instruction99 100cv.minu t0, t1101# CHECK-ERROR: too few operands for instruction102 103cv.minu t0, t1, t2, a0104# CHECK-ERROR: invalid operand for instruction105 106cv.abs t0, 0107# CHECK-ERROR: invalid operand for instruction108 109cv.abs 0, t1110# CHECK-ERROR: invalid operand for instruction111 112cv.abs t0113# CHECK-ERROR: too few operands for instruction114 115cv.abs t0, t1, t2116# CHECK-ERROR: invalid operand for instruction117 118cv.addrn t0, t1, t2, -1119# CHECK-ERROR: immediate must be an integer in the range [0, 31]120 121cv.addrn t0, t1, t2, 32122# CHECK-ERROR: immediate must be an integer in the range [0, 31]123 124cv.addrn t0, t1, t2, a0125# CHECK-ERROR: immediate must be an integer in the range [0, 31]126 127cv.addrn t0, t1, 0, 0128# CHECK-ERROR: invalid operand for instruction129 130cv.addrn t0, 0, t2, 0131# CHECK-ERROR: invalid operand for instruction132 133cv.addrn 0, t1, t2, 0134# CHECK-ERROR: invalid operand for instruction135 136cv.addrn t0, t1, t2137# CHECK-ERROR: too few operands for instruction138 139cv.addrn t0, t1, t2, 0, a0140# CHECK-ERROR: invalid operand for instruction141 142cv.suburn t0, t1, t2, -1143# CHECK-ERROR: immediate must be an integer in the range [0, 31]144 145cv.suburn t0, t1, t2, 32146# CHECK-ERROR: immediate must be an integer in the range [0, 31]147 148cv.suburn t0, t1, t2, a0149# CHECK-ERROR: immediate must be an integer in the range [0, 31]150 151cv.suburn t0, t1, 0, 0152# CHECK-ERROR: invalid operand for instruction153 154cv.suburn t0, 0, t2, 0155# CHECK-ERROR: invalid operand for instruction156 157cv.suburn 0, t1, t2, 0158# CHECK-ERROR: invalid operand for instruction159 160cv.suburn t0, t1, t2161# CHECK-ERROR: too few operands for instruction162 163cv.suburn t0, t1, t2, 0, a0164# CHECK-ERROR: invalid operand for instruction165 166cv.clip t0, t1, -1167# CHECK-ERROR: immediate must be an integer in the range [0, 31]168 169cv.clip t0, t1, 32170# CHECK-ERROR: immediate must be an integer in the range [0, 31]171 172cv.clip t0, t1, a0173# CHECK-ERROR: immediate must be an integer in the range [0, 31]174 175cv.clip t0, 0, 0176# CHECK-ERROR: invalid operand for instruction177 178cv.clip 0, t1, 0179# CHECK-ERROR: invalid operand for instruction180 181cv.clip t0, t1182# CHECK-ERROR: too few operands for instruction183 184cv.clip t0, t1, 0, 0185# CHECK-ERROR: invalid operand for instruction186 187cv.addunr t0, t1, 0188# CHECK-ERROR: invalid operand for instruction189 190cv.addunr t0, 0, t2191# CHECK-ERROR: invalid operand for instruction192 193cv.addunr 0, t1, t2194# CHECK-ERROR: invalid operand for instruction195 196cv.addunr t0, t1197# CHECK-ERROR: too few operands for instruction198 199cv.addunr t0, t1, t2, a0200# CHECK-ERROR: invalid operand for instruction201 202cv.addurn t0, t1, t2, -1203# CHECK-ERROR: immediate must be an integer in the range [0, 31]204 205cv.addurn t0, t1, t2, 32206# CHECK-ERROR: immediate must be an integer in the range [0, 31]207 208cv.addurn t0, t1, t2, a0209# CHECK-ERROR: immediate must be an integer in the range [0, 31]210 211cv.addurn t0, t1, 0, 0212# CHECK-ERROR: invalid operand for instruction213 214cv.addurn t0, 0, t2, 0215# CHECK-ERROR: invalid operand for instruction216 217cv.addurn 0, t1, t2, 0218# CHECK-ERROR: invalid operand for instruction219 220cv.addurn t0, t1, t2221# CHECK-ERROR: too few operands for instruction222 223cv.addurn t0, t1, t2, 0, a0224# CHECK-ERROR: invalid operand for instruction225 226cv.subun t0, t1, t2, -1227# CHECK-ERROR: immediate must be an integer in the range [0, 31]228 229cv.subun t0, t1, t2, 32230# CHECK-ERROR: immediate must be an integer in the range [0, 31]231 232cv.subun t0, t1, t2, a0233# CHECK-ERROR: immediate must be an integer in the range [0, 31]234 235cv.subun t0, t1, 0, 0236# CHECK-ERROR: invalid operand for instruction237 238cv.subun t0, 0, t2, 0239# CHECK-ERROR: invalid operand for instruction240 241cv.subun 0, t1, t2, 0242# CHECK-ERROR: invalid operand for instruction243 244cv.subun t0, t1, t2245# CHECK-ERROR: too few operands for instruction246 247cv.subun t0, t1, t2, 0, a0248# CHECK-ERROR: invalid operand for instruction249 250cv.subn t0, t1, t2, -1251# CHECK-ERROR: immediate must be an integer in the range [0, 31]252 253cv.subn t0, t1, t2, 32254# CHECK-ERROR: immediate must be an integer in the range [0, 31]255 256cv.subn t0, t1, t2, a0257# CHECK-ERROR: immediate must be an integer in the range [0, 31]258 259cv.subn t0, t1, 0, 0260# CHECK-ERROR: invalid operand for instruction261 262cv.subn t0, 0, t2, 0263# CHECK-ERROR: invalid operand for instruction264 265cv.subn 0, t1, t2, 0266# CHECK-ERROR: invalid operand for instruction267 268cv.subn t0, t1, t2269# CHECK-ERROR: too few operands for instruction270 271cv.subn t0, t1, t2, 0, a0272# CHECK-ERROR: invalid operand for instruction273 274cv.subrnr t0, t1, 0275# CHECK-ERROR: invalid operand for instruction276 277cv.subrnr t0, 0, t2278# CHECK-ERROR: invalid operand for instruction279 280cv.subrnr 0, t1, t2281# CHECK-ERROR: invalid operand for instruction282 283cv.subrnr t0, t1284# CHECK-ERROR: too few operands for instruction285 286cv.subrnr t0, t1, t2, a0287# CHECK-ERROR: invalid operand for instruction288 289cv.slet t0, t1, 0290# CHECK-ERROR: invalid operand for instruction291 292cv.slet t0, 0, t2293# CHECK-ERROR: invalid operand for instruction294 295cv.slet 0, t1, t2296# CHECK-ERROR: invalid operand for instruction297 298cv.slet t0, t1299# CHECK-ERROR: too few operands for instruction300 301cv.slet t0, t1, t2, a0302# CHECK-ERROR: invalid operand for instruction303 304cv.suburnr t0, t1, 0305# CHECK-ERROR: invalid operand for instruction306 307cv.suburnr t0, 0, t2308# CHECK-ERROR: invalid operand for instruction309 310cv.suburnr 0, t1, t2311# CHECK-ERROR: invalid operand for instruction312 313cv.suburnr t0, t1314# CHECK-ERROR: too few operands for instruction315 316cv.suburnr t0, t1, t2, a0317# CHECK-ERROR: invalid operand for instruction318 319cv.maxu t0, t1, 0320# CHECK-ERROR: invalid operand for instruction321 322cv.maxu t0, 0, t2323# CHECK-ERROR: invalid operand for instruction324 325cv.maxu 0, t1, t2326# CHECK-ERROR: invalid operand for instruction327 328cv.maxu t0, t1329# CHECK-ERROR: too few operands for instruction330 331cv.maxu t0, t1, t2, a0332# CHECK-ERROR: invalid operand for instruction333 334cv.extbs t0, 0335# CHECK-ERROR: invalid operand for instruction336 337cv.extbs 0, t1338# CHECK-ERROR: invalid operand for instruction339 340cv.extbs t0341# CHECK-ERROR: too few operands for instruction342 343cv.extbs t0, t1, t2344# CHECK-ERROR: invalid operand for instruction345 346cv.exths t0, 0347# CHECK-ERROR: invalid operand for instruction348 349cv.exths 0, t1350# CHECK-ERROR: invalid operand for instruction351 352cv.exths t0353# CHECK-ERROR: too few operands for instruction354 355cv.exths t0, t1, t2356# CHECK-ERROR: invalid operand for instruction357 358cv.max t0, t1, 0359# CHECK-ERROR: invalid operand for instruction360 361cv.max t0, 0, t2362# CHECK-ERROR: invalid operand for instruction363 364cv.max 0, t1, t2365# CHECK-ERROR: invalid operand for instruction366 367cv.max t0, t1368# CHECK-ERROR: too few operands for instruction369 370cv.max t0, t1, t2, a0371# CHECK-ERROR: invalid operand for instruction372 373cv.subunr t0, t1, 0374# CHECK-ERROR: invalid operand for instruction375 376cv.subunr t0, 0, t2377# CHECK-ERROR: invalid operand for instruction378 379cv.subunr 0, t1, t2380# CHECK-ERROR: invalid operand for instruction381 382cv.subunr t0, t1383# CHECK-ERROR: too few operands for instruction384 385cv.subunr t0, t1, t2, a0386# CHECK-ERROR: invalid operand for instruction387 388cv.exthz t0, 0389# CHECK-ERROR: invalid operand for instruction390 391cv.exthz 0, t1392# CHECK-ERROR: invalid operand for instruction393 394cv.exthz t0395# CHECK-ERROR: too few operands for instruction396 397cv.exthz t0, t1, t2398# CHECK-ERROR: invalid operand for instruction399 400cv.clipur t0, t1, 0401# CHECK-ERROR: invalid operand for instruction402 403cv.clipur t0, 0, t2404# CHECK-ERROR: invalid operand for instruction405 406cv.clipur 0, t1, t2407# CHECK-ERROR: invalid operand for instruction408 409cv.clipur t0, t1410# CHECK-ERROR: too few operands for instruction411 412cv.clipur t0, t1, t2, a0413# CHECK-ERROR: invalid operand for instruction414 415cv.addurnr t0, t1, 0416# CHECK-ERROR: invalid operand for instruction417 418cv.addurnr t0, 0, t2419# CHECK-ERROR: invalid operand for instruction420 421cv.addurnr 0, t1, t2422# CHECK-ERROR: invalid operand for instruction423 424cv.addurnr t0, t1425# CHECK-ERROR: too few operands for instruction426 427cv.addurnr t0, t1, t2, a0428# CHECK-ERROR: invalid operand for instruction429 430cv.addn t0, t1, t2, -1431# CHECK-ERROR: immediate must be an integer in the range [0, 31]432 433cv.addn t0, t1, t2, 32434# CHECK-ERROR: immediate must be an integer in the range [0, 31]435 436cv.addn t0, t1, t2, a0437# CHECK-ERROR: immediate must be an integer in the range [0, 31]438 439cv.addn t0, t1, 0, 0440# CHECK-ERROR: invalid operand for instruction441 442cv.addn t0, 0, t2, 0443# CHECK-ERROR: invalid operand for instruction444 445cv.addn 0, t1, t2, 0446# CHECK-ERROR: invalid operand for instruction447 448cv.addn t0, t1, t2449# CHECK-ERROR: too few operands for instruction450 451cv.addn t0, t1, t2, 0, a0452# CHECK-ERROR: invalid operand for instruction453 454cv.subrn t0, t1, t2, -1455# CHECK-ERROR: immediate must be an integer in the range [0, 31]456 457cv.subrn t0, t1, t2, 32458# CHECK-ERROR: immediate must be an integer in the range [0, 31]459 460cv.subrn t0, t1, t2, a0461# CHECK-ERROR: immediate must be an integer in the range [0, 31]462 463cv.subrn t0, t1, 0, 0464# CHECK-ERROR: invalid operand for instruction465 466cv.subrn t0, 0, t2, 0467# CHECK-ERROR: invalid operand for instruction468 469cv.subrn 0, t1, t2, 0470# CHECK-ERROR: invalid operand for instruction471 472cv.subrn t0, t1, t2473# CHECK-ERROR: too few operands for instruction474 475cv.subrn t0, t1, t2, 0, a0476# CHECK-ERROR: invalid operand for instruction477 478cv.subnr t0, t1, 0479# CHECK-ERROR: invalid operand for instruction480 481cv.subnr t0, 0, t2482# CHECK-ERROR: invalid operand for instruction483 484cv.subnr 0, t1, t2485# CHECK-ERROR: invalid operand for instruction486 487cv.subnr t0, t1488# CHECK-ERROR: too few operands for instruction489 490cv.subnr t0, t1, t2, a0491# CHECK-ERROR: invalid operand for instruction492 493cv.clipr t0, t1, 0494# CHECK-ERROR: invalid operand for instruction495 496cv.clipr t0, 0, t2497# CHECK-ERROR: invalid operand for instruction498 499cv.clipr 0, t1, t2500# CHECK-ERROR: invalid operand for instruction501 502cv.clipr t0, t1503# CHECK-ERROR: too few operands for instruction504 505cv.clipr t0, t1, t2, a0506# CHECK-ERROR: invalid operand for instruction507 508cv.sletu t0, t1, 0509# CHECK-ERROR: invalid operand for instruction510 511cv.sletu t0, 0, t2512# CHECK-ERROR: invalid operand for instruction513 514cv.sletu 0, t1, t2515# CHECK-ERROR: invalid operand for instruction516 517cv.sletu t0, t1518# CHECK-ERROR: too few operands for instruction519 520cv.sletu t0, t1, t2, a0521# CHECK-ERROR: invalid operand for instruction522 523cv.min t0, t1, 0524# CHECK-ERROR: invalid operand for instruction525 526cv.min t0, 0, t2527# CHECK-ERROR: invalid operand for instruction528 529cv.min 0, t1, t2530# CHECK-ERROR: invalid operand for instruction531 532cv.min t0, t1533# CHECK-ERROR: too few operands for instruction534 535cv.min t0, t1, t2, a0536# CHECK-ERROR: invalid operand for instruction537