33 lines · plain
1# Xqcili - Qualcomm uC Load Large Immediate Extension2# RUN: not llvm-mc -triple riscv32 -mattr=+experimental-xqcili < %s 2>&1 \3# RUN: | FileCheck -check-prefixes=CHECK,CHECK-PLUS,CHECK-IMM %s4# RUN: not llvm-mc -triple riscv32 -mattr=-experimental-xqcili < %s 2>&1 \5# RUN: | FileCheck -check-prefixes=CHECK,CHECK-MINUS,CHECK-EXT %s6 7# CHECK-PLUS: :[[@LINE+2]]:9: error: register must be a GPR excluding zero (x0)8# CHECK-MINUS: :[[@LINE+1]]:9: error: invalid operand for instruction9qc.e.li 9, 3355443210 11# CHECK: :[[@LINE+1]]:1: error: too few operands for instruction12qc.e.li x913 14# CHECK-IMM: :[[@LINE+1]]:13: error: immediate must be an integer in the range [-2147483648, 4294967295]15qc.e.li x9, 429496729616 17# CHECK-EXT: :[[@LINE+1]]:1: error: instruction requires the following: 'Xqcili' (Qualcomm uC Load Large Immediate Extension)18qc.e.li x9, 429496729519 20 21# CHECK-PLUS: :[[@LINE+2]]:7: error: register must be a GPR excluding zero (x0)22# CHECK-MINUS: :[[@LINE+1]]:7: error: invalid operand for instruction23qc.li x0, 11451424 25# CHECK: :[[@LINE+1]]:1: error: too few operands for instruction26qc.li x1027 28# CHECK-IMM: :[[@LINE+1]]:12: error: operand must be a symbol with a %qc.abs20 specifier or an integer in the range [-524288, 524287]29qc.li x10, 3355443230 31# CHECK-EXT: :[[@LINE+1]]:1: error: instruction requires the following: 'Xqcili' (Qualcomm uC Load Large Immediate Extension)32qc.li x10, 11451433