brintos

brintos / llvm-project-archived public Read only

0
0
Text · 10.5 KiB · a2f5549 Raw
263 lines · plain
1# Xqcicli - Qualcomm uC Conditional Load Immediate Instructions2# RUN: not llvm-mc -triple riscv32 -mattr=+experimental-xqcicli < %s 2>&1 \3# RUN:     | FileCheck -check-prefixes=CHECK,CHECK-PLUS %s4# RUN: not llvm-mc -triple riscv32 -mattr=-experimental-xqcicli < %s 2>&1 \5# RUN:     | FileCheck -check-prefixes=CHECK,CHECK-MINUS %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.lieq x0, x4, x6, 1010 11# CHECK-PLUS: :[[@LINE+2]]:13: error: register must be a GPR excluding zero (x0)12# CHECK-MINUS: :[[@LINE+1]]:13: error: invalid operand for instruction13qc.lieq x2, x0, x6, 1014 15# CHECK-PLUS: :[[@LINE+2]]:17: error: register must be a GPR excluding zero (x0)16# CHECK-MINUS: :[[@LINE+1]]:17: error: invalid operand for instruction17qc.lieq x2, x4, x0, 1018 19# CHECK: :[[@LINE+1]]:1: error: too few operands for instruction20qc.lieq x2, x4, x621 22# CHECK-PLUS: :[[@LINE+1]]:21: error: immediate must be an integer in the range [-16, 15]23qc.lieq x2, x4, x6, 4024 25# CHECK-MINUS: :[[@LINE+1]]:1: error: instruction requires the following: 'Xqcicli' (Qualcomm uC Conditional Load Immediate Extension)26qc.lieq x2, x4, x6, 1027 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.lige x0, x8, x20, 232 33# CHECK-PLUS: :[[@LINE+2]]:13: error: register must be a GPR excluding zero (x0)34# CHECK-MINUS: :[[@LINE+1]]:13: error: invalid operand for instruction35qc.lige x4, x0, x20, 236 37# CHECK-PLUS: :[[@LINE+2]]:17: error: register must be a GPR excluding zero (x0)38# CHECK-MINUS: :[[@LINE+1]]:17: error: invalid operand for instruction39qc.lige x4, x8, x0, 240 41# CHECK: :[[@LINE+1]]:1: error: too few operands for instruction42qc.lige x4, x8, x2043 44# CHECK-PLUS: :[[@LINE+1]]:22: error: immediate must be an integer in the range [-16, 15]45qc.lige x4, x8, x20, -1846 47# CHECK-MINUS: :[[@LINE+1]]:1: error: instruction requires the following: 'Xqcicli' (Qualcomm uC Conditional Load Immediate Extension)48qc.lige x4, x8, x20, 249 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.lilt x0, x9, x10, 354 55# CHECK-PLUS: :[[@LINE+2]]:14: error: register must be a GPR excluding zero (x0)56# CHECK-MINUS: :[[@LINE+1]]:14: error: invalid operand for instruction57qc.lilt x19, x0, x10, 358 59# CHECK-PLUS: :[[@LINE+2]]:18: error: register must be a GPR excluding zero (x0)60# CHECK-MINUS: :[[@LINE+1]]:18: error: invalid operand for instruction61qc.lilt x19, x9, x0, 362 63# CHECK: :[[@LINE+1]]:1: error: too few operands for instruction64qc.lilt x19, x9, x1065 66# CHECK-PLUS: :[[@LINE+1]]:23: error: immediate must be an integer in the range [-16, 15]67qc.lilt x19, x9, x10, 3968 69# CHECK-MINUS: :[[@LINE+1]]:1: error: instruction requires the following: 'Xqcicli' (Qualcomm uC Conditional Load Immediate Extension)70qc.lilt x19, x9, x10, 371 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.line x0, x14, x6, 1076 77# CHECK-PLUS: :[[@LINE+2]]:14: error: register must be a GPR excluding zero (x0)78# CHECK-MINUS: :[[@LINE+1]]:14: error: invalid operand for instruction79qc.line x18, x0, x6, 1080 81# CHECK-PLUS: :[[@LINE+2]]:19: error: register must be a GPR excluding zero (x0)82# CHECK-MINUS: :[[@LINE+1]]:19: error: invalid operand for instruction83qc.line x18, x14, x0, 1084 85# CHECK: :[[@LINE+1]]:1: error: too few operands for instruction86qc.line x18, x14, x687 88# CHECK-PLUS: :[[@LINE+1]]:23: error: immediate must be an integer in the range [-16, 15]89qc.line x18, x14, x6, 10090 91# CHECK-MINUS: :[[@LINE+1]]:1: error: instruction requires the following: 'Xqcicli' (Qualcomm uC Conditional Load Immediate Extension)92qc.line x18, x14, x6, 1093 94 95# CHECK-PLUS: :[[@LINE+2]]:10: error: register must be a GPR excluding zero (x0)96# CHECK-MINUS: :[[@LINE+1]]:10: error: invalid operand for instruction97qc.ligeu x0, x4, x6, 1098 99# CHECK-PLUS: :[[@LINE+2]]:14: error: register must be a GPR excluding zero (x0)100# CHECK-MINUS: :[[@LINE+1]]:14: error: invalid operand for instruction101qc.ligeu x2, x0, x6, 10102 103# CHECK-PLUS: :[[@LINE+2]]:18: error: register must be a GPR excluding zero (x0)104# CHECK-MINUS: :[[@LINE+1]]:18: error: invalid operand for instruction105qc.ligeu x2, x4, x0, 10106 107# CHECK: :[[@LINE+1]]:1: error: too few operands for instruction108qc.ligeu x2, x4, x6109 110# CHECK-PLUS: :[[@LINE+1]]:22: error: immediate must be an integer in the range [-16, 15]111qc.ligeu x2, x4, x6, 70112 113# CHECK-MINUS: :[[@LINE+1]]:1: error: instruction requires the following: 'Xqcicli' (Qualcomm uC Conditional Load Immediate Extension)114qc.ligeu x2, x4, x6, 10115 116 117# CHECK-PLUS: :[[@LINE+2]]:10: error: register must be a GPR excluding zero (x0)118# CHECK-MINUS: :[[@LINE+1]]:10: error: invalid operand for instruction119qc.liltu x0, x19, x12, 13120 121# CHECK-PLUS: :[[@LINE+2]]:14: error: register must be a GPR excluding zero (x0)122# CHECK-MINUS: :[[@LINE+1]]:14: error: invalid operand for instruction123qc.liltu x1, x0, x12, 13124 125# CHECK-PLUS: :[[@LINE+2]]:19: error: register must be a GPR excluding zero (x0)126# CHECK-MINUS: :[[@LINE+1]]:19: error: invalid operand for instruction127qc.liltu x1, x19, x0, 13128 129# CHECK: :[[@LINE+1]]:1: error: too few operands for instruction130qc.liltu x1, x19, x12131 132# CHECK-PLUS: :[[@LINE+1]]:24: error: immediate must be an integer in the range [-16, 15]133qc.liltu x1, x19, x12, 73134 135# CHECK-MINUS: :[[@LINE+1]]:1: error: instruction requires the following: 'Xqcicli' (Qualcomm uC Conditional Load Immediate Extension)136qc.liltu x1, x19, x12, 13137 138 139# CHECK-PLUS: :[[@LINE+2]]:10: error: register must be a GPR excluding zero (x0)140# CHECK-MINUS: :[[@LINE+1]]:10: error: invalid operand for instruction141qc.lieqi x0, x1, 15, 12142 143# CHECK-PLUS: :[[@LINE+2]]:14: error: register must be a GPR excluding zero (x0)144# CHECK-MINUS: :[[@LINE+1]]:14: error: invalid operand for instruction145qc.lieqi x7, x0, 15, 12146 147# CHECK: :[[@LINE+1]]:1: error: too few operands for instruction148qc.lieqi x7, x1, 15149 150# CHECK-PLUS: :[[@LINE+1]]:18: error: immediate must be an integer in the range [-16, 15]151qc.lieqi x7, x1, 25, 12152 153# CHECK-PLUS: :[[@LINE+1]]:22: error: immediate must be an integer in the range [-16, 15]154qc.lieqi x7, x1, 15, -22155 156# CHECK-MINUS: :[[@LINE+1]]:1: error: instruction requires the following: 'Xqcicli' (Qualcomm uC Conditional Load Immediate Extension)157qc.lieqi x7, x1, 15, 12158 159 160# CHECK-PLUS: :[[@LINE+2]]:10: error: register must be a GPR excluding zero (x0)161# CHECK-MINUS: :[[@LINE+1]]:10: error: invalid operand for instruction162qc.ligei x0, x11, -4, 9163 164# CHECK-PLUS: :[[@LINE+2]]:15: error: register must be a GPR excluding zero (x0)165# CHECK-MINUS: :[[@LINE+1]]:15: error: invalid operand for instruction166qc.ligei x17, x0, -4, 9167 168# CHECK: :[[@LINE+1]]:1: error: too few operands for instruction169qc.ligei x17, x11, -4170 171# CHECK-PLUS: :[[@LINE+1]]:20: error: immediate must be an integer in the range [-16, 15]172qc.ligei x17, x11, -24, 9173 174# CHECK-PLUS: :[[@LINE+1]]:24: error: immediate must be an integer in the range [-16, 15]175qc.ligei x17, x11, -4, 59176 177# CHECK-MINUS: :[[@LINE+1]]:1: error: instruction requires the following: 'Xqcicli' (Qualcomm uC Conditional Load Immediate Extension)178qc.ligei x17, x11, -4, 9179 180 181# CHECK-PLUS: :[[@LINE+2]]:10: error: register must be a GPR excluding zero (x0)182# CHECK-MINUS: :[[@LINE+1]]:10: error: invalid operand for instruction183qc.lilti x0, x11, -14, 2184 185# CHECK-PLUS: :[[@LINE+2]]:14: error: register must be a GPR excluding zero (x0)186# CHECK-MINUS: :[[@LINE+1]]:14: error: invalid operand for instruction187qc.lilti x9, x0, -14, 2188 189# CHECK: :[[@LINE+1]]:1: error: too few operands for instruction190qc.lilti x9, x11, -14191 192# CHECK-PLUS: :[[@LINE+1]]:19: error: immediate must be an integer in the range [-16, 15]193qc.lilti x9, x11, -84, 2194 195# CHECK-PLUS: :[[@LINE+1]]:24: error: immediate must be an integer in the range [-16, 15]196qc.lilti x9, x11, -14, 52197 198# CHECK-MINUS: :[[@LINE+1]]:1: error: instruction requires the following: 'Xqcicli' (Qualcomm uC Conditional Load Immediate Extension)199qc.lilti x9, x11, -14, 2200 201 202# CHECK-PLUS: :[[@LINE+2]]:10: error: register must be a GPR excluding zero (x0)203# CHECK-MINUS: :[[@LINE+1]]:10: error: invalid operand for instruction204qc.linei x0, x1, 10, 12205 206# CHECK-PLUS: :[[@LINE+2]]:14: error: register must be a GPR excluding zero (x0)207# CHECK-MINUS: :[[@LINE+1]]:14: error: invalid operand for instruction208qc.linei x5, x0, 10, 12209 210# CHECK: :[[@LINE+1]]:1: error: too few operands for instruction211qc.linei x5, x1, 10212 213# CHECK-PLUS: :[[@LINE+1]]:18: error: immediate must be an integer in the range [-16, 15]214qc.linei x5, x1, 130, 12215 216# CHECK-PLUS: :[[@LINE+1]]:22: error: immediate must be an integer in the range [-16, 15]217qc.linei x5, x1, 10, 124218 219# CHECK-MINUS: :[[@LINE+1]]:1: error: instruction requires the following: 'Xqcicli' (Qualcomm uC Conditional Load Immediate Extension)220qc.linei x5, x1, 10, 12221 222 223# CHECK-PLUS: :[[@LINE+2]]:11: error: register must be a GPR excluding zero (x0)224# CHECK-MINUS: :[[@LINE+1]]:11: error: invalid operand for instruction225qc.ligeui x0, x12, 7, -12226 227# CHECK-PLUS: :[[@LINE+2]]:15: error: register must be a GPR excluding zero (x0)228# CHECK-MINUS: :[[@LINE+1]]:15: error: invalid operand for instruction229qc.ligeui x2, x0, 7, -12230 231# CHECK: :[[@LINE+1]]:1: error: too few operands for instruction232qc.ligeui x2, x12, 7233 234# CHECK-PLUS: :[[@LINE+1]]:20: error: immediate must be an integer in the range [0, 31]235qc.ligeui x2, x12, -7, -12236 237# CHECK-PLUS: :[[@LINE+1]]:23: error: immediate must be an integer in the range [-16, 15]238qc.ligeui x2, x12, 7, -17239 240# CHECK-MINUS: :[[@LINE+1]]:1: error: instruction requires the following: 'Xqcicli' (Qualcomm uC Conditional Load Immediate Extension)241qc.ligeui x2, x12, 7, -12242 243 244# CHECK-PLUS: :[[@LINE+2]]:11: error: register must be a GPR excluding zero (x0)245# CHECK-MINUS: :[[@LINE+1]]:11: error: invalid operand for instruction246qc.liltui x0, x25, 31, 12247 248# CHECK-PLUS: :[[@LINE+2]]:15: error: register must be a GPR excluding zero (x0)249# CHECK-MINUS: :[[@LINE+1]]:15: error: invalid operand for instruction250qc.liltui x3, x0, 31, 12251 252# CHECK: :[[@LINE+1]]:1: error: too few operands for instruction253qc.liltui x3, x25, 31254 255# CHECK-PLUS: :[[@LINE+1]]:20: error: immediate must be an integer in the range [0, 31]256qc.liltui x3, x25, 32, 12257 258# CHECK-PLUS: :[[@LINE+1]]:24: error: immediate must be an integer in the range [-16, 15]259qc.liltui x3, x25, 31, 112260 261# CHECK-MINUS: :[[@LINE+1]]:1: error: instruction requires the following: 'Xqcicli' (Qualcomm uC Conditional Load Immediate Extension)262qc.liltui x3, x25, 31, 12263