brintos

brintos / llvm-project-archived public Read only

0
0
Text · 6.1 KiB · c1ee53f Raw
166 lines · plain
1# Xqcicm - Qualcomm uC Conditional Move Extension2# RUN: not llvm-mc -triple riscv32 -mattr=+experimental-xqcicm < %s 2>&1 \3# RUN:     | FileCheck -check-prefixes=CHECK,CHECK-IMM %s4# RUN: not llvm-mc -triple riscv32 -mattr=-experimental-xqcicm < %s 2>&1 \5# RUN:     | FileCheck -check-prefixes=CHECK,CHECK-EXT %s6 7# CHECK-PLUS: :[[@LINE+2]]:12: error: register must be a GPR excluding zero (x0)8# CHECK-MINUS: :[[@LINE+1]]:12: error: invalid operand for instruction9qc.c.mveqz 9, x1010 11# CHECK: :[[@LINE+1]]:1: error: too few operands for instruction12qc.c.mveqz x913 14# CHECK-EXT: :[[@LINE+1]]:1: error: instruction requires the following: 'Xqcicm' (Qualcomm uC Conditional Move Extension)15qc.c.mveqz x9, x1016 17 18# CHECK-PLUS: :[[@LINE+2]]:9: error: register must be a GPR excluding zero (x0)19# CHECK-MINUS: :[[@LINE+1]]:9: error: invalid operand for instruction20qc.mveq 9, x10, x11, x1221 22# CHECK: :[[@LINE+1]]:1: error: too few operands for instruction23qc.mveq x924 25# CHECK-EXT: :[[@LINE+1]]:1: error: instruction requires the following: 'Xqcicm' (Qualcomm uC Conditional Move Extension)26qc.mveq x9, x10, x11, x1227 28 29# CHECK-PLUS: :[[@LINE+2]]:9: error: register must be a GPR excluding zero (x0)30# CHECK-MINUS: :[[@LINE+1]]:9: error: invalid operand for instruction31qc.mvge 9, x10, x11, x1232 33# CHECK: :[[@LINE+1]]:1: error: too few operands for instruction34qc.mvge x935 36# CHECK-EXT: :[[@LINE+1]]:1: error: instruction requires the following: 'Xqcicm' (Qualcomm uC Conditional Move Extension)37qc.mvge x9, x10, x11, x1238 39 40# CHECK-PLUS: :[[@LINE+2]]:10: error: register must be a GPR excluding zero (x0)41# CHECK-MINUS: :[[@LINE+1]]:10: error: invalid operand for instruction42qc.mvgeu 9, x10, x11, x1243 44# CHECK: :[[@LINE+1]]:1: error: too few operands for instruction45qc.mvgeu x946 47# CHECK-EXT: :[[@LINE+1]]:1: error: instruction requires the following: 'Xqcicm' (Qualcomm uC Conditional Move Extension)48qc.mvgeu x9, x10, x11, x1249 50 51# CHECK-PLUS: :[[@LINE+2]]:9: error: register must be a GPR excluding zero (x0)52# CHECK-MINUS: :[[@LINE+1]]:9: error: invalid operand for instruction53qc.mvlt 9, x10, x11, x1254 55# CHECK: :[[@LINE+1]]:1: error: too few operands for instruction56qc.mvlt x957 58# CHECK-EXT: :[[@LINE+1]]:1: error: instruction requires the following: 'Xqcicm' (Qualcomm uC Conditional Move Extension)59qc.mvlt x9, x10, x11, x1260 61 62# CHECK-PLUS: :[[@LINE+2]]:10: error: register must be a GPR excluding zero (x0)63# CHECK-MINUS: :[[@LINE+1]]:10: error: invalid operand for instruction64qc.mvltu 9, x10, x11, x1265 66# CHECK: :[[@LINE+1]]:1: error: too few operands for instruction67qc.mvltu x968 69# CHECK-EXT: :[[@LINE+1]]:1: error: instruction requires the following: 'Xqcicm' (Qualcomm uC Conditional Move Extension)70qc.mvltu x9, x10, x11, x1271 72 73# CHECK-PLUS: :[[@LINE+2]]:9: error: register must be a GPR excluding zero (x0)74# CHECK-MINUS: :[[@LINE+1]]:9: error: invalid operand for instruction75qc.mvne 9, x10, x11, x1276 77# CHECK: :[[@LINE+1]]:1: error: too few operands for instruction78qc.mvne x979 80# CHECK-EXT: :[[@LINE+1]]:1: error: instruction requires the following: 'Xqcicm' (Qualcomm uC Conditional Move Extension)81qc.mvne x9, x10, x11, x1282 83 84# CHECK-PLUS: :[[@LINE+2]]:10: error: register must be a GPR excluding zero (x0)85# CHECK-MINUS: :[[@LINE+1]]:10: error: invalid operand for instruction86qc.mveqi 9, x10, 5, x1287 88# CHECK: :[[@LINE+1]]:1: error: too few operands for instruction89qc.mveqi x990 91# CHECK-IMM: :[[@LINE+1]]:19: error: immediate must be an integer in the range [-16, 15]92qc.mveqi x9, x10, 17, x1293 94# CHECK-EXT: :[[@LINE+1]]:1: error: instruction requires the following: 'Xqcicm' (Qualcomm uC Conditional Move Extension)95qc.mveqi x9, x10, 5, x1296 97 98# CHECK-PLUS: :[[@LINE+2]]:10: error: register must be a GPR excluding zero (x0)99# CHECK-MINUS: :[[@LINE+1]]:10: error: invalid operand for instruction100qc.mvgei 9, x10, 5, x12101 102# CHECK: :[[@LINE+1]]:1: error: too few operands for instruction103qc.mvgei x9104 105# CHECK-IMM: :[[@LINE+1]]:19: error: immediate must be an integer in the range [-16, 15]106qc.mvgei x9, x10, 17, x12107 108# CHECK-EXT: :[[@LINE+1]]:1: error: instruction requires the following: 'Xqcicm' (Qualcomm uC Conditional Move Extension)109qc.mvgei x9, x10, 5, x12110 111 112# CHECK-PLUS: :[[@LINE+2]]:10: error: register must be a GPR excluding zero (x0)113# CHECK-MINUS: :[[@LINE+1]]:10: error: invalid operand for instruction114qc.mvlti 9, x10, 5, x12115 116# CHECK: :[[@LINE+1]]:1: error: too few operands for instruction117qc.mvlti x9118 119# CHECK-IMM: :[[@LINE+1]]:19: error: immediate must be an integer in the range [-16, 15]120qc.mvlti x9, x10, 17, x12121 122# CHECK-EXT: :[[@LINE+1]]:1: error: instruction requires the following: 'Xqcicm' (Qualcomm uC Conditional Move Extension)123qc.mvlti x9, x10, 5, x12124 125 126# CHECK-PLUS: :[[@LINE+2]]:10: error: register must be a GPR excluding zero (x0)127# CHECK-MINUS: :[[@LINE+1]]:10: error: invalid operand for instruction128qc.mvnei 9, x10, 5, x12129 130# CHECK: :[[@LINE+1]]:1: error: too few operands for instruction131qc.mvnei x9132 133# CHECK-IMM: :[[@LINE+1]]:19: error: immediate must be an integer in the range [-16, 15]134qc.mvnei x9, x10, 17, x12135 136# CHECK-EXT: :[[@LINE+1]]:1: error: instruction requires the following: 'Xqcicm' (Qualcomm uC Conditional Move Extension)137qc.mvnei x9, x10, 5, x12138 139 140# CHECK-PLUS: :[[@LINE+2]]:11: error: register must be a GPR excluding zero (x0)141# CHECK-MINUS: :[[@LINE+1]]:11: error: invalid operand for instruction142qc.mvltui 9, x10, 5, x12143 144# CHECK: :[[@LINE+1]]:1: error: too few operands for instruction145qc.mvltui x9146 147# CHECK-IMM: :[[@LINE+1]]:20: error: immediate must be an integer in the range [0, 31]148qc.mvltui x9, x10, 37, x12149 150# CHECK-EXT: :[[@LINE+1]]:1: error: instruction requires the following: 'Xqcicm' (Qualcomm uC Conditional Move Extension)151qc.mvltui x9, x10, 5, x12152 153 154# CHECK-PLUS: :[[@LINE+2]]:11: error: register must be a GPR excluding zero (x0)155# CHECK-MINUS: :[[@LINE+1]]:11: error: invalid operand for instruction156qc.mvgeui 9, x10, 5, x12157 158# CHECK: :[[@LINE+1]]:1: error: too few operands for instruction159qc.mvgeui x9160 161# CHECK-IMM: :[[@LINE+1]]:20: error: immediate must be an integer in the range [0, 31]162qc.mvgeui x9, x10, 37, x12163 164# CHECK-EXT: :[[@LINE+1]]:1: error: instruction requires the following: 'Xqcicm' (Qualcomm uC Conditional Move Extension)165qc.mvgeui x9, x10, 5, x12166