brintos

brintos / llvm-project-archived public Read only

0
0
Text · 7.6 KiB · 3f13bd0 Raw
231 lines · plain
1# RUN: not llvm-mc -triple=riscv32 --mattr=+xcvmem %s 2>&1 \2# RUN:        | FileCheck %s --check-prefixes=CHECK-ERROR3 4cv.lb t0, (0), 05# CHECK-ERROR: :[[@LINE-1]]:11: error: invalid operand for instruction6 7cv.lb 0, (t1), 08# CHECK-ERROR: :[[@LINE-1]]:7: error: invalid operand for instruction9 10cv.lb 0, (0), t211# CHECK-ERROR: :[[@LINE-1]]:7: error: invalid operand for instruction12 13cv.lb t0, (t1), -204914# CHECK-ERROR: :[[@LINE-1]]:17: error: operand must be a symbol with %lo/%pcrel_lo/%tprel_lo specifier or an integer in the range [-2048, 2047]15 16cv.lb t0, (t1), 204817# CHECK-ERROR: :[[@LINE-1]]:17: error: operand must be a symbol with %lo/%pcrel_lo/%tprel_lo specifier or an integer in the range [-2048, 2047]18 19cv.lb t0, (0), t120# CHECK-ERROR: :[[@LINE-1]]:11: error: invalid operand for instruction21 22cv.lb 0, (t1), t123# CHECK-ERROR: :[[@LINE-1]]:7: error: invalid operand for instruction24 25cv.lb t026# CHECK-ERROR: :[[@LINE-1]]:1: error: too few operands for instruction27 28cv.lb t0, (t2)29# CHECK-ERROR: :[[@LINE-1]]:1: error: too few operands for instruction30 31cv.lb t0, (t1), t2, t332# CHECK-ERROR: :[[@LINE-1]]:21: error: invalid operand for instruction33 34cv.lbu t0, (0), 035# CHECK-ERROR: :[[@LINE-1]]:12: error: invalid operand for instruction36 37cv.lbu 0, (t1), 038# CHECK-ERROR: :[[@LINE-1]]:8: error: invalid operand for instruction39 40cv.lbu 0, (0), t0 41# CHECK-ERROR: :[[@LINE-1]]:8: error: invalid operand for instruction42 43cv.lbu t0, (t1), -204944# CHECK-ERROR: :[[@LINE-1]]:18: error: operand must be a symbol with %lo/%pcrel_lo/%tprel_lo specifier or an integer in the range [-2048, 2047]45 46cv.lbu t0, (t1), 204847# CHECK-ERROR: :[[@LINE-1]]:18: error: operand must be a symbol with %lo/%pcrel_lo/%tprel_lo specifier or an integer in the range [-2048, 2047]48 49cv.lbu t0, (0), t150# CHECK-ERROR: :[[@LINE-1]]:12: error: invalid operand for instruction51 52cv.lbu 0, (t1), t153# CHECK-ERROR: :[[@LINE-1]]:8: error: invalid operand for instruction54 55cv.lbu t056# CHECK-ERROR: :[[@LINE-1]]:1: error: too few operands for instruction57 58cv.lbu t0, (t2)59# CHECK-ERROR: :[[@LINE-1]]:1: error: too few operands for instruction60 61cv.lbu t0, (t1), t2, t3 62# CHECK-ERROR: :[[@LINE-1]]:22: error: invalid operand for instruction63 64cv.lh t0, (0), 065# CHECK-ERROR: :[[@LINE-1]]:11: error: invalid operand for instruction66 67cv.lh 0, (t1), 068# CHECK-ERROR: :[[@LINE-1]]:7: error: invalid operand for instruction69 70cv.lh 0, (0), t271# CHECK-ERROR: :[[@LINE-1]]:7: error: invalid operand for instruction72 73cv.lh t0, (t1), -204974# CHECK-ERROR: :[[@LINE-1]]:17: error: operand must be a symbol with %lo/%pcrel_lo/%tprel_lo specifier or an integer in the range [-2048, 2047]75 76cv.lh t0, (t1), 204877# CHECK-ERROR: :[[@LINE-1]]:17: error: operand must be a symbol with %lo/%pcrel_lo/%tprel_lo specifier or an integer in the range [-2048, 2047]78 79cv.lh t0, (0), t180# CHECK-ERROR: :[[@LINE-1]]:11: error: invalid operand for instruction81 82cv.lh t0, t1(0)83# CHECK-ERROR: :[[@LINE-1]]:14: error: expected GPR register84 85cv.lh 0, (t1), t186# CHECK-ERROR: :[[@LINE-1]]:7: error: invalid operand for instruction87 88cv.lh t089# CHECK-ERROR: :[[@LINE-1]]:1: error: too few operands for instruction90 91cv.lh t0, (t1)92# CHECK-ERROR: :[[@LINE-1]]:1: error: too few operands for instruction93 94cv.lh t0, (t1), t2, t395# CHECK-ERROR: :[[@LINE-1]]:21: error: invalid operand for instruction96 97cv.lhu t0, (0), 098# CHECK-ERROR: :[[@LINE-1]]:12: error: invalid operand for instruction99 100cv.lhu 0, (t1), 0101# CHECK-ERROR: :[[@LINE-1]]:8: error: invalid operand for instruction102 103cv.lhu 0, 0(t1)104# CHECK-ERROR: :[[@LINE-1]]:8: error: invalid operand for instruction105 106cv.lhu t0, (t1), -2049107# CHECK-ERROR: :[[@LINE-1]]:18: error: operand must be a symbol with %lo/%pcrel_lo/%tprel_lo specifier or an integer in the range [-2048, 2047]108 109cv.lhu t0, (t1), 2048110# CHECK-ERROR: :[[@LINE-1]]:18: error: operand must be a symbol with %lo/%pcrel_lo/%tprel_lo specifier or an integer in the range [-2048, 2047]111 112cv.lhu t0, (0), t1113# CHECK-ERROR: :[[@LINE-1]]:12: error: invalid operand for instruction114 115cv.lhu t0, t1(0)116# CHECK-ERROR: :[[@LINE-1]]:15: error: expected GPR register117 118cv.lhu 0, t0, t1119# CHECK-ERROR: :[[@LINE-1]]:13: error: expected '(' or invalid operand120 121cv.lhu t0122# CHECK-ERROR: :[[@LINE-1]]:1: error: too few operands for instruction123 124cv.lhu t0, (t1)125# CHECK-ERROR: :[[@LINE-1]]:1: error: too few operands for instruction126 127cv.lhu t0, (t1), t2, t3128# CHECK-ERROR: :[[@LINE-1]]:22: error: invalid operand for instruction129 130cv.lw t0, (0), 0131# CHECK-ERROR: :[[@LINE-1]]:11: error: invalid operand for instruction132 133cv.lw 0, (t1), 0134# CHECK-ERROR: :[[@LINE-1]]:7: error: invalid operand for instruction135 136cv.lw 0, (0), t2137# CHECK-ERROR: :[[@LINE-1]]:7: error: invalid operand for instruction138 139cv.lw t0, (t1), -2049140# CHECK-ERROR: :[[@LINE-1]]:17: error: operand must be a symbol with %lo/%pcrel_lo/%tprel_lo specifier or an integer in the range [-2048, 2047]141 142cv.lw t0, (t1), 2048143# CHECK-ERROR: :[[@LINE-1]]:17: error: operand must be a symbol with %lo/%pcrel_lo/%tprel_lo specifier or an integer in the range [-2048, 2047]144 145cv.lw t0, (0), t1146# CHECK-ERROR: :[[@LINE-1]]:11: error: invalid operand for instruction147 148cv.lw t0, t1(0)149# CHECK-ERROR: :[[@LINE-1]]:14: error: expected GPR register150 151cv.lw 0, (t0), t1152# CHECK-ERROR: :[[@LINE-1]]:7: error: invalid operand for instruction153 154cv.lw t0155# CHECK-ERROR: :[[@LINE-1]]:1: error: too few operands for instruction156 157cv.lw t0, (t1)158# CHECK-ERROR: :[[@LINE-1]]:1: error: too few operands for instruction159 160cv.lw t0, (t1), t2, t3161# CHECK-ERROR: :[[@LINE-1]]:21: error: invalid operand for instruction162 163cv.sb t0, (0), 0164# CHECK-ERROR: :[[@LINE-1]]:11: error: invalid operand for instruction165 166cv.sb 0, (t0), 0167# CHECK-ERROR: :[[@LINE-1]]:7: error: invalid operand for instruction168 169cv.sb t0, 0(t1)170# CHECK-ERROR: :[[@LINE-1]]:11: error: invalid operand for instruction171 172cv.sb t0, (t1), 2048173# CHECK-ERROR: :[[@LINE-1]]:17: error: operand must be a symbol with %lo/%pcrel_lo/%tprel_lo specifier or an integer in the range [-2048, 2047]174 175cv.sb t0, (0), t1176# CHECK-ERROR: :[[@LINE-1]]:11: error: invalid operand for instruction177 178cv.sb 0, (t1), t1179# CHECK-ERROR: :[[@LINE-1]]:7: error: invalid operand for instruction180 181cv.sb t0182# CHECK-ERROR: :[[@LINE-1]]:1: error: too few operands for instruction183 184cv.sh t0, (0), 0185# CHECK-ERROR: :[[@LINE-1]]:11: error: invalid operand for instruction186 187cv.sh 0, (t1), 0188# CHECK-ERROR: :[[@LINE-1]]:7: error: invalid operand for instruction189 190cv.sh t0, 0(t1)191# CHECK-ERROR: :[[@LINE-1]]:11: error: invalid operand for instruction192 193cv.sh t0, (t1), 2048194# CHECK-ERROR: :[[@LINE-1]]:17: error: operand must be a symbol with %lo/%pcrel_lo/%tprel_lo specifier or an integer in the range [-2048, 2047]195 196cv.sh t0, (0), t1197# CHECK-ERROR: :[[@LINE-1]]:11: error: invalid operand for instruction198 199cv.sh 0, (t1), t1200# CHECK-ERROR: :[[@LINE-1]]:7: error: invalid operand for instruction201 202cv.sh t0203# CHECK-ERROR: :[[@LINE-1]]:1: error: too few operands for instruction204 205cv.sw t0, (0), 0206# CHECK-ERROR: :[[@LINE-1]]:11: error: invalid operand for instruction207 208cv.sw 0, (t1), 0209# CHECK-ERROR: :[[@LINE-1]]:7: error: invalid operand for instruction210 211cv.sw t0, 0(t1)212# CHECK-ERROR: :[[@LINE-1]]:11: error: invalid operand for instruction213 214cv.sw t0, (t1), 2048215# CHECK-ERROR: :[[@LINE-1]]:17: error: operand must be a symbol with %lo/%pcrel_lo/%tprel_lo specifier or an integer in the range [-2048, 2047]216 217cv.sw t0, (0), t1218# CHECK-ERROR: :[[@LINE-1]]:11: error: invalid operand for instruction219 220cv.sw 0, (t1), t1221# CHECK-ERROR: :[[@LINE-1]]:7: error: invalid operand for instruction222 223cv.sw t0224# CHECK-ERROR: :[[@LINE-1]]:1: error: too few operands for instruction225 226cv.lb t0, f0(t1)227# CHECK-ERROR: :[[@LINE-1]]:11: error: expected GPR register228 229cv.sb t0, t0(f1)230# CHECK-ERROR: :[[@LINE-1]]:14: error: expected GPR register231