brintos

brintos / llvm-project-archived public Read only

0
0
Text · 6.6 KiB · 684b3f2 Raw
268 lines · plain
1# RUN: not llvm-mc -triple=riscv32 --mattr=+xcvbitmanip %s 2>&1 \2# RUN:        | FileCheck %s --check-prefixes=CHECK-ERROR3 4cv.extract t0, t15# CHECK-ERROR: too few operands for instruction6 7cv.extract t0, t1, 08# CHECK-ERROR: too few operands for instruction9 10cv.extract t0, t1, t211# CHECK-ERROR: immediate must be an integer in the range [0, 31]12 13cv.extract t0, t1, t2, t314# CHECK-ERROR: immediate must be an integer in the range [0, 31]15 16cv.extract t0, t1, 0, 3217# CHECK-ERROR: immediate must be an integer in the range [0, 31]18 19cv.extract t0, t1, 0, -120# CHECK-ERROR: immediate must be an integer in the range [0, 31]21 22cv.extract t0, t1, 32, 023# CHECK-ERROR: immediate must be an integer in the range [0, 31]24 25cv.extract t0, t1, -1, 026# CHECK-ERROR: immediate must be an integer in the range [0, 31]27 28cv.extractu t0, t129# CHECK-ERROR: too few operands for instruction30 31cv.extractu t0, t1, 032# CHECK-ERROR: too few operands for instruction33 34cv.extractu t0, t1, t235# CHECK-ERROR: immediate must be an integer in the range [0, 31]36 37cv.extractu t0, t1, t2, t338# CHECK-ERROR: immediate must be an integer in the range [0, 31]39 40cv.extractu t0, t1, 0, 3241# CHECK-ERROR: immediate must be an integer in the range [0, 31]42 43cv.extractu t0, t1, 0, -144# CHECK-ERROR: immediate must be an integer in the range [0, 31]45 46cv.extractu t0, t1, 32, 047# CHECK-ERROR: immediate must be an integer in the range [0, 31]48 49cv.extractu t0, t1, -1, 050# CHECK-ERROR: immediate must be an integer in the range [0, 31]51 52cv.insert t0, t153# CHECK-ERROR: too few operands for instruction54 55cv.insert t0, t1, 056# CHECK-ERROR: too few operands for instruction57 58cv.insert t0, t1, t259# CHECK-ERROR: immediate must be an integer in the range [0, 31]60 61cv.insert t0, t1, t2, t362# CHECK-ERROR: immediate must be an integer in the range [0, 31]63 64cv.insert t0, t1, 0, 3265# CHECK-ERROR: immediate must be an integer in the range [0, 31]66 67cv.insert t0, t1, 0, -168# CHECK-ERROR: immediate must be an integer in the range [0, 31]69 70cv.insert t0, t1, 32, 071# CHECK-ERROR: immediate must be an integer in the range [0, 31]72 73cv.insert t0, t1, -1, 074# CHECK-ERROR: immediate must be an integer in the range [0, 31]75 76cv.bclr t0, t177# CHECK-ERROR: too few operands for instruction78 79cv.bclr t0, t1, 080# CHECK-ERROR: too few operands for instruction81 82cv.bclr t0, t1, t283# CHECK-ERROR: immediate must be an integer in the range [0, 31]84 85cv.bclr t0, t1, t2, t386# CHECK-ERROR: immediate must be an integer in the range [0, 31]87 88cv.bclr t0, t1, 0, 3289# CHECK-ERROR: immediate must be an integer in the range [0, 31]90 91cv.bclr t0, t1, 0, -192# CHECK-ERROR: immediate must be an integer in the range [0, 31]93 94cv.bclr t0, t1, 32, 095# CHECK-ERROR: immediate must be an integer in the range [0, 31]96 97cv.bclr t0, t1, -1, 098# CHECK-ERROR: immediate must be an integer in the range [0, 31]99 100cv.bset t0, t1101# CHECK-ERROR: too few operands for instruction102 103cv.bset t0, t1, 0104# CHECK-ERROR: too few operands for instruction105 106cv.bset t0, t1, t2107# CHECK-ERROR: immediate must be an integer in the range [0, 31]108 109cv.bset t0, t1, t2, t3110# CHECK-ERROR: immediate must be an integer in the range [0, 31]111 112cv.bset t0, t1, 0, 32113# CHECK-ERROR: immediate must be an integer in the range [0, 31]114 115cv.bset t0, t1, 0, -1116# CHECK-ERROR: immediate must be an integer in the range [0, 31]117 118cv.bset t0, t1, 32, 0119# CHECK-ERROR: immediate must be an integer in the range [0, 31]120 121cv.bset t0, t1, -1, 0122# CHECK-ERROR: immediate must be an integer in the range [0, 31]123 124cv.bitrev t0, t1125# CHECK-ERROR: too few operands for instruction126 127cv.bitrev t0, t1, 0128# CHECK-ERROR: too few operands for instruction129 130cv.bitrev t0, t1, t2131# CHECK-ERROR: immediate must be an integer in the range [0, 3]132 133cv.bitrev t0, t1, t2, t3134# CHECK-ERROR: immediate must be an integer in the range [0, 3]135 136cv.bitrev t0, t1, 0, 32137# CHECK-ERROR: immediate must be an integer in the range [0, 31]138 139cv.bitrev t0, t1, 0, -1140# CHECK-ERROR: immediate must be an integer in the range [0, 31]141 142cv.bitrev t0, t1, 32, 0143# CHECK-ERROR: immediate must be an integer in the range [0, 3]144 145cv.bitrev t0, t1, -1, 0146# CHECK-ERROR: immediate must be an integer in the range [0, 3]147 148cv.extractr t0149# CHECK-ERROR: too few operands for instruction150 151cv.extractr t0, 0152# CHECK-ERROR: invalid operand for instruction153 154cv.extractr t0, t1, 0155# CHECK-ERROR: invalid operand for instruction156 157cv.extractr t0, t1158# CHECK-ERROR: too few operands for instruction159 160cv.extractur t0161# CHECK-ERROR: too few operands for instruction162 163cv.extractur t0, 0164# CHECK-ERROR: invalid operand for instruction165 166cv.extractur t0, t1, 0167# CHECK-ERROR: invalid operand for instruction168 169cv.extractur t0, t1170# CHECK-ERROR: too few operands for instruction171 172cv.insertr t0173# CHECK-ERROR: too few operands for instruction174 175cv.insertr t0, 0176# CHECK-ERROR: invalid operand for instruction177 178cv.insertr t0, t1, 0179# CHECK-ERROR: invalid operand for instruction180 181cv.insertr t0, t1182# CHECK-ERROR: too few operands for instruction183 184cv.bclrr t0185# CHECK-ERROR: too few operands for instruction186 187cv.bclrr t0, 0188# CHECK-ERROR: invalid operand for instruction189 190cv.bclrr t0, t1, 0191# CHECK-ERROR: invalid operand for instruction192 193cv.bclrr t0, t1194# CHECK-ERROR: too few operands for instruction195 196cv.bsetr t0197# CHECK-ERROR: too few operands for instruction198 199cv.bsetr t0, 0200# CHECK-ERROR: invalid operand for instruction201 202cv.bsetr t0, t1, 0203# CHECK-ERROR: invalid operand for instruction204 205cv.bsetr t0, t1206# CHECK-ERROR: too few operands for instruction207 208cv.ror t0209# CHECK-ERROR: too few operands for instruction210 211cv.ror t0, 0212# CHECK-ERROR: invalid operand for instruction213 214cv.ror t0, t1, 0215# CHECK-ERROR: invalid operand for instruction216 217cv.ror t0, t1218# CHECK-ERROR: too few operands for instruction219 220cv.ff1 t0221# CHECK-ERROR: too few operands for instruction222 223cv.ff1 t0, 0224# CHECK-ERROR: invalid operand for instruction225 226cv.ff1 t0, t1, 0227# CHECK-ERROR: invalid operand for instruction228 229cv.ff1 t0, t1, t2230# CHECK-ERROR: invalid operand for instruction 231 232cv.fl1 t0233# CHECK-ERROR: too few operands for instruction234 235cv.fl1 t0, 0236# CHECK-ERROR: invalid operand for instruction237 238cv.fl1 t0, t1, 0239# CHECK-ERROR: invalid operand for instruction240 241cv.fl1 t0, t1, t2242# CHECK-ERROR: invalid operand for instruction 243 244cv.clb t0245# CHECK-ERROR: too few operands for instruction246 247cv.clb t0, 0248# CHECK-ERROR: invalid operand for instruction249 250cv.clb t0, t1, 0251# CHECK-ERROR: invalid operand for instruction252 253cv.clb t0, t1, t2254# CHECK-ERROR: invalid operand for instruction 255 256cv.cnt t0257# CHECK-ERROR: too few operands for instruction258 259cv.cnt t0, 0260# CHECK-ERROR: invalid operand for instruction261 262cv.cnt t0, t1, 0263# CHECK-ERROR: invalid operand for instruction264 265cv.cnt t0, t1, t2266# CHECK-ERROR: invalid operand for instruction 267 268