109 lines · plain
1# Xqcilo - Qualcomm uC Extension Large Offset Load Store extension2# RUN: not llvm-mc -triple riscv32 -mattr=+experimental-xqcilo < %s 2>&1 \3# RUN: | FileCheck -check-prefixes=CHECK,CHECK-IMM %s4# RUN: not llvm-mc -triple riscv32 -mattr=-experimental-xqcilo < %s 2>&1 \5# RUN: | FileCheck -check-prefixes=CHECK,CHECK-EXT %s6 7# CHECK: :[[@LINE+1]]:9: error: invalid operand for instruction8qc.e.lb 11, 12(x10)9 10# CHECK: :[[@LINE+1]]:1: error: too few operands for instruction11qc.e.lb x1112 13# CHECK-IMM: :[[@LINE+1]]:14: error: immediate must be an integer in the range [-33554432, 33554431]14qc.e.lb x11, 33445562212(x10)15 16# CHECK-EXT: :[[@LINE+1]]:1: error: instruction requires the following: 'Xqcilo' (Qualcomm uC Large Offset Load Store Extension)17qc.e.lb x11, 12(x10)18 19 20# CHECK: :[[@LINE+1]]:10: error: invalid operand for instruction21qc.e.lbu 11, 12(x10)22 23# CHECK: :[[@LINE+1]]:1: error: too few operands for instruction24qc.e.lbu x1125 26# CHECK-IMM: :[[@LINE+1]]:15: error: immediate must be an integer in the range [-33554432, 33554431]27qc.e.lbu x11, 33445562212(x10)28 29# CHECK-EXT: :[[@LINE+1]]:1: error: instruction requires the following: 'Xqcilo' (Qualcomm uC Large Offset Load Store Extension)30qc.e.lbu x11, 12(x10)31 32 33# CHECK: :[[@LINE+1]]:9: error: invalid operand for instruction34qc.e.lh 11, 12(x10)35 36# CHECK: :[[@LINE+1]]:1: error: too few operands for instruction37qc.e.lh x1138 39# CHECK-IMM: :[[@LINE+1]]:14: error: immediate must be an integer in the range [-33554432, 33554431]40qc.e.lh x11, 33445562212(x10)41 42# CHECK-EXT: :[[@LINE+1]]:1: error: instruction requires the following: 'Xqcilo' (Qualcomm uC Large Offset Load Store Extension)43qc.e.lh x11, 12(x10)44 45 46# CHECK: :[[@LINE+1]]:10: error: invalid operand for instruction47qc.e.lhu 11, 12(x10)48 49# CHECK: :[[@LINE+1]]:1: error: too few operands for instruction50qc.e.lhu x1151 52# CHECK-IMM: :[[@LINE+1]]:15: error: immediate must be an integer in the range [-33554432, 33554431]53qc.e.lhu x11, 33445562212(x10)54 55# CHECK-EXT: :[[@LINE+1]]:1: error: instruction requires the following: 'Xqcilo' (Qualcomm uC Large Offset Load Store Extension)56qc.e.lhu x11, 12(x10)57 58 59# CHECK: :[[@LINE+1]]:9: error: invalid operand for instruction60qc.e.lw 11, 12(x10)61 62# CHECK: :[[@LINE+1]]:1: error: too few operands for instruction63qc.e.lw x1164 65# CHECK-IMM: :[[@LINE+1]]:14: error: immediate must be an integer in the range [-33554432, 33554431]66qc.e.lw x11, 33445562212(x10)67 68# CHECK-EXT: :[[@LINE+1]]:1: error: instruction requires the following: 'Xqcilo' (Qualcomm uC Large Offset Load Store Extension)69qc.e.lw x11, 12(x10)70 71 72# CHECK: :[[@LINE+1]]:9: error: invalid operand for instruction73qc.e.sb 11, 12(x10)74 75# CHECK: :[[@LINE+1]]:1: error: too few operands for instruction76qc.e.sb x1177 78# CHECK-IMM: :[[@LINE+1]]:14: error: immediate must be an integer in the range [-33554432, 33554431]79qc.e.sb x11, 33445562212(x10)80 81# CHECK-EXT: :[[@LINE+1]]:1: error: instruction requires the following: 'Xqcilo' (Qualcomm uC Large Offset Load Store Extension)82qc.e.sb x11, 12(x10)83 84 85# CHECK: :[[@LINE+1]]:9: error: invalid operand for instruction86qc.e.sh 11, 12(x10)87 88# CHECK: :[[@LINE+1]]:1: error: too few operands for instruction89qc.e.sh x1190 91# CHECK-IMM: :[[@LINE+1]]:14: error: immediate must be an integer in the range [-33554432, 33554431]92qc.e.sh x11, 33445562212(x10)93 94# CHECK-EXT: :[[@LINE+1]]:1: error: instruction requires the following: 'Xqcilo' (Qualcomm uC Large Offset Load Store Extension)95qc.e.sh x11, 12(x10)96 97 98# CHECK: :[[@LINE+1]]:9: error: invalid operand for instruction99qc.e.sw 11, 12(x10)100 101# CHECK: :[[@LINE+1]]:1: error: too few operands for instruction102qc.e.sw x11103 104# CHECK-IMM: :[[@LINE+1]]:14: error: immediate must be an integer in the range [-33554432, 33554431]105qc.e.sw x11, 33445562212(x10)106 107# CHECK-EXT: :[[@LINE+1]]:1: error: instruction requires the following: 'Xqcilo' (Qualcomm uC Large Offset Load Store Extension)108qc.e.sw x11, 12(x10)109