brintos

brintos / llvm-project-archived public Read only

0
0
Text · 4.6 KiB · a3421db Raw
125 lines · plain
1# Xqcilsm - Qualcomm uC Load Store Multiple Extension2# RUN: not llvm-mc -triple riscv32 -mattr=+experimental-xqcilsm < %s 2>&1 \3# RUN:     | FileCheck -check-prefixes=CHECK,CHECK-PLUS %s4# RUN: not llvm-mc -triple riscv32 -mattr=-experimental-xqcilsm < %s 2>&1 \5# RUN:     | FileCheck -check-prefixes=CHECK,CHECK-MINUS %s6 7# CHECK: :[[@LINE+1]]:20: error: expected register8qc.swm x5, x20, 12(20)9 10# CHECK-PLUS: :[[@LINE+2]]:8: error: register must be a GPR excluding zero (x0)11# CHECK-MINUS: :[[@LINE+1]]:8: error: invalid operand for instruction12qc.swm x0, x20, 12(x3)13 14# CHECK-PLUS: :[[@LINE+2]]:12: error: register must be a GPR excluding zero (x0)15# CHECK-MINUS: :[[@LINE+1]]:12: error: invalid operand for instruction16qc.swm x5, x0, 12(x3)17 18# CHECK: :[[@LINE+1]]:1: error: too few operands for instruction19qc.swm x5, x320 21# CHECK-PLUS: :[[@LINE+1]]:17: error: immediate must be a multiple of 4 bytes in the range [0, 124]22qc.swm x5, x20, 45(x3)23 24# CHECK-MINUS: :[[@LINE+1]]:1: error: instruction requires the following: 'Xqcilsm' (Qualcomm uC Load Store Multiple Extension)25qc.swm x5, x20, 12(x3)26 27 28# CHECK: :[[@LINE+1]]:20: error: expected register29qc.swmi x10, 4, 20(4)30 31# CHECK-PLUS: :[[@LINE+2]]:9: error: register must be a GPR excluding zero (x0)32# CHECK-MINUS: :[[@LINE+1]]:9: error: invalid operand for instruction33qc.swmi x0, 4, 20(x4)34 35# CHECK: :[[@LINE+1]]:1: error: too few operands for instruction36qc.swmi x10, 4, 2037 38# CHECK-PLUS: :[[@LINE+1]]:14: error: immediate must be an integer in the range [1, 31]39qc.swmi x10, 32, 20(x4)40 41# CHECK-PLUS: :[[@LINE+1]]:14: error: immediate must be an integer in the range [1, 31]42qc.swmi x10, 0, 20(x4)43 44# CHECK-PLUS: :[[@LINE+1]]:17: error: immediate must be a multiple of 4 bytes in the range [0, 124]45qc.swmi x10, 4, 45(x4)46 47# CHECK-MINUS: :[[@LINE+1]]:1: error: instruction requires the following: 'Xqcilsm' (Qualcomm uC Load Store Multiple Extension)48qc.swmi x10, 4, 20(x4)49 50 51# CHECK: :[[@LINE+1]]:23: error: expected register52qc.setwm x4, x30, 124(2)53 54# CHECK-PLUS: :[[@LINE+2]]:14: error: register must be a GPR excluding zero (x0)55# CHECK-MINUS: :[[@LINE+1]]:14: error: invalid operand for instruction56qc.setwm x4, x0, 124(x2)57 58# CHECK: :[[@LINE+1]]:1: error: too few operands for instruction59qc.setwm x4, x30, 12460 61# CHECK-PLUS: :[[@LINE+1]]:19: error: immediate must be a multiple of 4 bytes in the range [0, 124]62qc.setwm x4, x30, 128(x2)63 64# CHECK-MINUS: :[[@LINE+1]]:1: error: instruction requires the following: 'Xqcilsm' (Qualcomm uC Load Store Multiple Extension)65qc.setwm x4, x30, 124(x2)66 67 68# CHECK: :[[@LINE+1]]:22: error: expected register69qc.setwmi x5, 31, 12(12)70 71# CHECK: :[[@LINE+1]]:1: error: too few operands for instruction72qc.setwmi x5, 31, 1273 74# CHECK-PLUS: :[[@LINE+1]]:15: error: immediate must be an integer in the range [1, 31]75qc.setwmi x5, 37, 12(x12)76 77# CHECK-PLUS: :[[@LINE+1]]:15: error: immediate must be an integer in the range [1, 31]78qc.setwmi x5, 0, 12(x12)79 80# CHECK-PLUS: :[[@LINE+1]]:19: error: immediate must be a multiple of 4 bytes in the range [0, 124]81qc.setwmi x5, 31, 98(x12)82 83# CHECK-MINUS: :[[@LINE+1]]:1: error: instruction requires the following: 'Xqcilsm' (Qualcomm uC Load Store Multiple Extension)84qc.setwmi x5, 31, 12(x12)85 86 87# CHECK: :[[@LINE+1]]:19: error: expected register88qc.lwm x7, x1, 24(20)89 90# CHECK: :[[@LINE+1]]:1: error: too few operands for instruction91qc.lwm x7, x1, 2492 93# CHECK-PLUS: :[[@LINE+2]]:8: error: register must be a GPR excluding zero (x0)94# CHECK-MINUS: :[[@LINE+1]]:8: error: invalid operand for instruction95qc.lwm x0, x1, 24(x20)96 97# CHECK-PLUS: :[[@LINE+1]]:16: error: immediate must be a multiple of 4 bytes in the range [0, 124]98qc.lwm x7, x1, 46(x20)99 100# CHECK-MINUS: :[[@LINE+1]]:1: error: instruction requires the following: 'Xqcilsm' (Qualcomm uC Load Store Multiple Extension)101qc.lwm x7, x1, 24(x20)102 103 104# CHECK: :[[@LINE+1]]:19: error: expected register105qc.lwmi x13, 9, 4(23)106 107# CHECK: :[[@LINE+1]]:1: error: too few operands for instruction108qc.lwmi x13, 9, 4109 110# CHECK-PLUS: :[[@LINE+2]]:9: error: register must be a GPR excluding zero (x0)111# CHECK-MINUS: :[[@LINE+1]]:9: error: invalid operand for instruction112qc.lwmi x0, 9, 4(x23)113 114# CHECK-PLUS: :[[@LINE+1]]:14: error: immediate must be an integer in the range [1, 31]115qc.lwmi x13, 44, 4(x23)116 117# CHECK-PLUS: :[[@LINE+1]]:14: error: immediate must be an integer in the range [1, 31]118qc.lwmi x13, 0, 4(x23)119 120# CHECK-PLUS: :[[@LINE+1]]:17: error: immediate must be a multiple of 4 bytes in the range [0, 124]121qc.lwmi x13, 9, 77(x23)122 123# CHECK-MINUS: :[[@LINE+1]]:1: error: instruction requires the following: 'Xqcilsm' (Qualcomm uC Load Store Multiple Extension)124qc.lwmi x13, 9, 4(x23)125