71 lines · plain
1# Xqcilo - Qualcomm uC Large Offset Load Store extension2# RUN: not llvm-mc %s -triple=riscv32 -mattr=+experimental-xqcilo \3# RUN: 2>&1 | FileCheck -check-prefixes=CHECK-ENABLED %s4# RUN: not llvm-mc %s -triple=riscv32 -mattr=-experimental-xqcilo \5# RUN: 2>&1 | FileCheck -check-prefixes=CHECK-DISABLED %s6 7# CHECK-ENABLED: [[@LINE+2]]:1: error: too few operands for instruction8# CHECK-DISABLED: [[@LINE+1]]:1: error: too few operands for instruction9qc.e.lb a0, 0xf00010 11# CHECK-ENABLED: [[@LINE+2]]:1: error: too few operands for instruction12# CHECK-DISABLED: [[@LINE+1]]:1: error: too few operands for instruction13qc.e.lb a0, 0xf00014 15# CHECK-ENABLED: [[@LINE+2]]:1: error: too few operands for instruction16# CHECK-DISABLED: [[@LINE+1]]:1: error: too few operands for instruction17qc.e.lbu a0, 0xf00018 19# CHECK-ENABLED: [[@LINE+2]]:1: error: too few operands for instruction20# CHECK-DISABLED: [[@LINE+1]]:1: error: too few operands for instruction21qc.e.lh a0, 0xf00022 23# CHECK-ENABLED: [[@LINE+2]]:1: error: too few operands for instruction24# CHECK-DISABLED: [[@LINE+1]]:1: error: too few operands for instruction25qc.e.lhu a0, 0xf00026 27# CHECK-ENABLED: [[@LINE+2]]:1: error: too few operands for instruction28# CHECK-DISABLED: [[@LINE+1]]:1: error: too few operands for instruction29qc.e.lw a0, 0xf00030 31# CHECK-ENABLED: [[@LINE+2]]:21: error: invalid operand for instruction32# CHECK-DISABLED: [[@LINE+1]]:21: error: invalid operand for instruction33qc.e.sb a0, 0xf000, t034 35# CHECK-ENABLED: [[@LINE+2]]:21: error: invalid operand for instruction36# CHECK-DISABLED: [[@LINE+1]]:21: error: invalid operand for instruction37qc.e.sh a0, 0xf000, t038 39# CHECK-ENABLED: [[@LINE+2]]:21: error: invalid operand for instruction40# CHECK-DISABLED: [[@LINE+1]]:21: error: invalid operand for instruction41qc.e.sw a0, 0xf000, t042 43# CHECK-DISABLED: [[@LINE+1]]:1: error: instruction requires the following: 'Xqcilo' (Qualcomm uC Large Offset Load Store Extension)44qc.e.lb a0, undefined45# CHECK-DISABLED: [[@LINE+1]]:1: error: instruction requires the following: 'Xqcilo' (Qualcomm uC Large Offset Load Store Extension)46qc.e.lbu a0, undefined47# CHECK-DISABLED: [[@LINE+1]]:1: error: instruction requires the following: 'Xqcilo' (Qualcomm uC Large Offset Load Store Extension)48qc.e.lh a0, undefined49# CHECK-DISABLED: [[@LINE+1]]:1: error: instruction requires the following: 'Xqcilo' (Qualcomm uC Large Offset Load Store Extension)50qc.e.lhu a0, undefined51# CHECK-DISABLED: [[@LINE+1]]:1: error: instruction requires the following: 'Xqcilo' (Qualcomm uC Large Offset Load Store Extension)52qc.e.lw a0, undefined53# CHECK-DISABLED: [[@LINE+1]]:1: error: instruction requires the following: 'Xqcilo' (Qualcomm uC Large Offset Load Store Extension)54qc.e.sb a0, undefined, t055# CHECK-DISABLED: [[@LINE+1]]:1: error: instruction requires the following: 'Xqcilo' (Qualcomm uC Large Offset Load Store Extension)56qc.e.sh a0, undefined, t057# CHECK-DISABLED: [[@LINE+1]]:1: error: instruction requires the following: 'Xqcilo' (Qualcomm uC Large Offset Load Store Extension)58qc.e.sw a0, undefined, t059 60# CHECK-ENABLED: [[@LINE+2]]:1: error: too few operands for instruction61# CHECK-DISABLED: [[@LINE+1]]:1: error: too few operands for instruction62qc.e.sb a0, undefined63 64# CHECK-ENABLED: [[@LINE+2]]:1: error: too few operands for instruction65# CHECK-DISABLED: [[@LINE+1]]:1: error: too few operands for instruction66qc.e.sh a0, undefined67 68# CHECK-ENABLED: [[@LINE+2]]:1: error: too few operands for instruction69# CHECK-DISABLED: [[@LINE+1]]:1: error: too few operands for instruction70qc.e.sw a0, undefined71