brintos

brintos / llvm-project-archived public Read only

0
0
Text · 11.1 KiB · 0a40104 Raw
246 lines · plain
1// RUN: not llvm-mc -triple=aarch64 -mattr=+sme-mop4 < %s 2>&1 | FileCheck %s2 3// FMOP4A4 5// Single vectors6 7fmop4a za0.d, z0.s, z16.s8// CHECK: [[@LINE-1]]:{{[0-9]+}}: error: invalid matrix operand9 10fmop4a za4.s, z0.s, z16.s11// CHECK: [[@LINE-1]]:{{[0-9]+}}: error: invalid operand for instruction12 13fmop4a za0.s, z0.d, z16.s14// CHECK: [[@LINE-1]]:{{[0-9]+}}: error: Invalid restricted vector register, expected even register in z0.s..z14.s15 16fmop4a za0.s, z15.s, z16.s17// CHECK: [[@LINE-1]]:{{[0-9]+}}: error: Invalid restricted vector register, expected even register in z0.s..z14.s18 19fmop4a za0.s, z16.s, z16.s20// CHECK: [[@LINE-1]]:{{[0-9]+}}: error: Invalid restricted vector register, expected even register in z0.s..z14.s21 22fmop4a za0.s, z0.s, z16.d23// CHECK: [[@LINE-1]]:{{[0-9]+}}: error: Invalid restricted vector register, expected even register in z16.s..z30.s24 25fmop4a za0.s, z12.s, z17.s26// CHECK: [[@LINE-1]]:{{[0-9]+}}: error: Invalid restricted vector register, expected even register in z16.s..z30.s27 28fmop4a za0.s, z12.s, z14.s29// CHECK: [[@LINE-1]]:{{[0-9]+}}: error: Invalid restricted vector register, expected even register in z16.s..z30.s30 31fmop4a za0.s, z12.s, z31.s32// CHECK: [[@LINE-1]]:{{[0-9]+}}: error: Invalid restricted vector register, expected even register in z16.s..z30.s33 34// Single and multiple vectors35 36fmop4a za0.d, z0.s, {z16.s-z17.s}37// CHECK: [[@LINE-1]]:{{[0-9]+}}: error: invalid matrix operand38 39fmop4a za4.s, z0.s, {z16.s-z17.s}40// CHECK: [[@LINE-1]]:{{[0-9]+}}: error: invalid operand for instruction41 42fmop4a za0.s, z0.d, {z16.s-z17.s}43// CHECK: [[@LINE-1]]:{{[0-9]+}}: error: Invalid restricted vector register, expected even register in z0.s..z14.s44 45fmop4a za0.s, z1.s, {z16.s-z17.s}46// CHECK: [[@LINE-1]]:{{[0-9]+}}: error: Invalid restricted vector register, expected even register in z0.s..z14.s47 48fmop4a za0.s, z16.s, {z16.s-z17.s}49// CHECK: [[@LINE-1]]:{{[0-9]+}}: error: Invalid restricted vector register, expected even register in z0.s..z14.s50 51fmop4a za0.s, z0.s, {z16.d-z17.d}52// CHECK: [[@LINE-1]]:{{[0-9]+}}: error: invalid operand for instruction53 54fmop4a za0.s, z0.s, {z17.s-z18.s}55// CHECK: [[@LINE-1]]:{{[0-9]+}}: error: Invalid vector list, expected list with 2 consecutive SVE vectors in the range z16-z30, where the first vector is a multiple of 2 and with matching element types56 57fmop4a za0.s, z0.s, {z16.s-z18.s}58// CHECK: [[@LINE-1]]:{{[0-9]+}}: error: invalid operand for instruction59 60fmop4a za0.s, z0.s, {z12.s-z13.s}61// CHECK: [[@LINE-1]]:{{[0-9]+}}: error: Invalid vector list, expected list with 2 consecutive SVE vectors in the range z16-z30, where the first vector is a multiple of 2 and with matching element types62 63// Multiple and single vectors64 65fmop4a za0.d, {z0.s-z1.s}, z16.s66// CHECK: [[@LINE-1]]:{{[0-9]+}}: error: invalid matrix operand67 68fmop4a za4.s, {z0.s-z1.s}, z16.s69// CHECK: [[@LINE-1]]:{{[0-9]+}}: error: invalid operand for instruction70 71fmop4a za0.s, {z0.d-z1.s}, z16.s72// CHECK: [[@LINE-1]]:{{[0-9]+}}: error: mismatched register size suffix73 74fmop4a za0.s, {z1.s-z2.s}, z16.s75// CHECK: [[@LINE-1]]:{{[0-9]+}}: error: Invalid vector list, expected list with 2 consecutive SVE vectors in the range z0-z14, where the first vector is a multiple of 2 and with matching element types76 77fmop4a za0.s, {z2.s-z4.s}, z16.s78// CHECK: [[@LINE-1]]:{{[0-9]+}}: error: invalid operand for instruction79 80fmop4a za0.s, {z16.s-z17.s}, z16.s81// CHECK: [[@LINE-1]]:{{[0-9]+}}: error: Invalid vector list, expected list with 2 consecutive SVE vectors in the range z0-z14, where the first vector is a multiple of 2 and with matching element types82 83fmop4a za0.s, {z0.s-z1.s}, z16.d84// CHECK: [[@LINE-1]]:{{[0-9]+}}: error: Invalid restricted vector register, expected even register in z16.s..z30.s85 86fmop4a za0.s, {z0.s-z1.s}, z17.s87// CHECK: [[@LINE-1]]:{{[0-9]+}}: error: Invalid restricted vector register, expected even register in z16.s..z30.s88 89fmop4a za0.s, {z0.s-z1.s}, z12.s90// CHECK: [[@LINE-1]]:{{[0-9]+}}: error: Invalid restricted vector register, expected even register in z16.s..z30.s91 92// Multiple vectors93 94fmop4a za0.d, {z0.s-z1.s}, {z16.s-z17.s}95// CHECK: [[@LINE-1]]:{{[0-9]+}}: error: invalid matrix operand96 97fmop4a za4.s, {z0.s-z1.s}, {z16.s-z17.s}98// CHECK: [[@LINE-1]]:{{[0-9]+}}: error: invalid operand for instruction99 100fmop4a za0.s, {z0.d-z1.d}, {z16.s-z17.s}101// CHECK: [[@LINE-1]]:{{[0-9]+}}: error: invalid operand for instruction102 103fmop4a za0.s, {z1.s-z2.s}, {z16.s-z17.s}104// CHECK: [[@LINE-1]]:{{[0-9]+}}: error: Invalid vector list, expected list with 2 consecutive SVE vectors in the range z0-z14, where the first vector is a multiple of 2 and with matching element types105 106fmop4a za0.s, {z2.s-z4.s}, {z16.s-z17.s}107// CHECK: [[@LINE-1]]:{{[0-9]+}}: error: invalid operand for instruction108 109fmop4a za0.s, {z18.s-z19.s}, {z16.s-z17.s}110// CHECK: [[@LINE-1]]:{{[0-9]+}}: error: Invalid vector list, expected list with 2 consecutive SVE vectors in the range z0-z14, where the first vector is a multiple of 2 and with matching element types111 112fmop4a za0.s, {z0.s-z1.s}, {z16.d-z17.d}113// CHECK: [[@LINE-1]]:{{[0-9]+}}: error: invalid operand for instruction114 115fmop4a za0.s, {z0.s-z1.s}, {z19.s-z20.s}116// CHECK: [[@LINE-1]]:{{[0-9]+}}: error: Invalid vector list, expected list with 2 consecutive SVE vectors in the range z16-z30, where the first vector is a multiple of 2 and with matching element types117 118fmop4a za0.s, {z0.s-z1.s}, {z16.s-z18.s}119// CHECK: [[@LINE-1]]:{{[0-9]+}}: error: invalid operand for instruction120 121fmop4a za0.s, {z0.s-z1.s}, {z10.s-z11.s}122// CHECK: [[@LINE-1]]:{{[0-9]+}}: error: Invalid vector list, expected list with 2 consecutive SVE vectors in the range z16-z30, where the first vector is a multiple of 2 and with matching element types123 124 125// FMOP4S126 127// Single vectors128 129fmop4s za0.d, z0.s, z16.s130// CHECK: [[@LINE-1]]:{{[0-9]+}}: error: invalid matrix operand131 132fmop4s za4.s, z0.s, z16.s133// CHECK: [[@LINE-1]]:{{[0-9]+}}: error: invalid operand for instruction134 135fmop4s za0.s, z0.d, z16.s136// CHECK: [[@LINE-1]]:{{[0-9]+}}: error: Invalid restricted vector register, expected even register in z0.s..z14.s137 138fmop4s za0.s, z15.s, z16.s139// CHECK: [[@LINE-1]]:{{[0-9]+}}: error: Invalid restricted vector register, expected even register in z0.s..z14.s140 141fmop4s za0.s, z16.s, z16.s142// CHECK: [[@LINE-1]]:{{[0-9]+}}: error: Invalid restricted vector register, expected even register in z0.s..z14.s143 144fmop4s za0.s, z0.s, z16.d145// CHECK: [[@LINE-1]]:{{[0-9]+}}: error: Invalid restricted vector register, expected even register in z16.s..z30.s146 147fmop4s za0.s, z12.s, z17.s148// CHECK: [[@LINE-1]]:{{[0-9]+}}: error: Invalid restricted vector register, expected even register in z16.s..z30.s149 150fmop4s za0.s, z12.s, z14.s151// CHECK: [[@LINE-1]]:{{[0-9]+}}: error: Invalid restricted vector register, expected even register in z16.s..z30.s152 153fmop4s za0.s, z12.s, z31.s154// CHECK: [[@LINE-1]]:{{[0-9]+}}: error: Invalid restricted vector register, expected even register in z16.s..z30.s155 156// Single and multiple vectors157 158fmop4s za0.d, z0.s, {z16.s-z17.s}159// CHECK: [[@LINE-1]]:{{[0-9]+}}: error: invalid matrix operand160 161fmop4s za4.s, z0.s, {z16.s-z17.s}162// CHECK: [[@LINE-1]]:{{[0-9]+}}: error: invalid operand for instruction163 164fmop4s za0.s, z0.d, {z16.s-z17.s}165// CHECK: [[@LINE-1]]:{{[0-9]+}}: error: Invalid restricted vector register, expected even register in z0.s..z14.s166 167fmop4s za0.s, z1.s, {z16.s-z17.s}168// CHECK: [[@LINE-1]]:{{[0-9]+}}: error: Invalid restricted vector register, expected even register in z0.s..z14.s169 170fmop4s za0.s, z16.s, {z16.s-z17.s}171// CHECK: [[@LINE-1]]:{{[0-9]+}}: error: Invalid restricted vector register, expected even register in z0.s..z14.s172 173fmop4s za0.s, z0.s, {z16.d-z17.d}174// CHECK: [[@LINE-1]]:{{[0-9]+}}: error: invalid operand for instruction175 176fmop4s za0.s, z0.s, {z17.s-z18.s}177// CHECK: [[@LINE-1]]:{{[0-9]+}}: error: Invalid vector list, expected list with 2 consecutive SVE vectors in the range z16-z30, where the first vector is a multiple of 2 and with matching element types178 179fmop4s za0.s, z0.s, {z16.s-z18.s}180// CHECK: [[@LINE-1]]:{{[0-9]+}}: error: invalid operand for instruction181 182fmop4s za0.s, z0.s, {z12.s-z13.s}183// CHECK: [[@LINE-1]]:{{[0-9]+}}: error: Invalid vector list, expected list with 2 consecutive SVE vectors in the range z16-z30, where the first vector is a multiple of 2 and with matching element types184 185// Multiple and single vectors186 187fmop4s za0.d, {z0.s-z1.s}, z16.s188// CHECK: [[@LINE-1]]:{{[0-9]+}}: error: invalid matrix operand189 190fmop4s za4.s, {z0.s-z1.s}, z16.s191// CHECK: [[@LINE-1]]:{{[0-9]+}}: error: invalid operand for instruction192 193fmop4s za0.s, {z0.d-z1.s}, z16.s194// CHECK: [[@LINE-1]]:{{[0-9]+}}: error: mismatched register size suffix195 196fmop4s za0.s, {z1.s-z2.s}, z16.s197// CHECK: [[@LINE-1]]:{{[0-9]+}}: error: Invalid vector list, expected list with 2 consecutive SVE vectors in the range z0-z14, where the first vector is a multiple of 2 and with matching element types198 199fmop4s za0.s, {z2.s-z4.s}, z16.s200// CHECK: [[@LINE-1]]:{{[0-9]+}}: error: invalid operand for instruction201 202fmop4s za0.s, {z16.s-z17.s}, z16.s203// CHECK: [[@LINE-1]]:{{[0-9]+}}: error: Invalid vector list, expected list with 2 consecutive SVE vectors in the range z0-z14, where the first vector is a multiple of 2 and with matching element types204 205fmop4s za0.s, {z0.s-z1.s}, z16.d206// CHECK: [[@LINE-1]]:{{[0-9]+}}: error: Invalid restricted vector register, expected even register in z16.s..z30.s207 208fmop4s za0.s, {z0.s-z1.s}, z17.s209// CHECK: [[@LINE-1]]:{{[0-9]+}}: error: Invalid restricted vector register, expected even register in z16.s..z30.s210 211fmop4s za0.s, {z0.s-z1.s}, z12.s212// CHECK: [[@LINE-1]]:{{[0-9]+}}: error: Invalid restricted vector register, expected even register in z16.s..z30.s213 214// Multiple vectors215 216fmop4s za0.d, {z0.s-z1.s}, {z16.s-z17.s}217// CHECK: [[@LINE-1]]:{{[0-9]+}}: error: invalid matrix operand218 219fmop4s za4.s, {z0.s-z1.s}, {z16.s-z17.s}220// CHECK: [[@LINE-1]]:{{[0-9]+}}: error: invalid operand for instruction221 222fmop4s za0.s, {z0.d-z1.d}, {z16.s-z17.s}223// CHECK: [[@LINE-1]]:{{[0-9]+}}: error: invalid operand for instruction224 225fmop4s za0.s, {z1.s-z2.s}, {z16.s-z17.s}226// CHECK: [[@LINE-1]]:{{[0-9]+}}: error: Invalid vector list, expected list with 2 consecutive SVE vectors in the range z0-z14, where the first vector is a multiple of 2 and with matching element types227 228fmop4s za0.s, {z2.s-z4.s}, {z16.s-z17.s}229// CHECK: [[@LINE-1]]:{{[0-9]+}}: error: invalid operand for instruction230 231fmop4s za0.s, {z18.s-z19.s}, {z16.s-z17.s}232// CHECK: [[@LINE-1]]:{{[0-9]+}}: error: Invalid vector list, expected list with 2 consecutive SVE vectors in the range z0-z14, where the first vector is a multiple of 2 and with matching element types233 234fmop4s za0.s, {z0.s-z1.s}, {z16.d-z17.d}235// CHECK: [[@LINE-1]]:{{[0-9]+}}: error: invalid operand for instruction236 237fmop4s za0.s, {z0.s-z1.s}, {z19.s-z20.s}238// CHECK: [[@LINE-1]]:{{[0-9]+}}: error: Invalid vector list, expected list with 2 consecutive SVE vectors in the range z16-z30, where the first vector is a multiple of 2 and with matching element types239 240fmop4s za0.s, {z0.s-z1.s}, {z16.s-z18.s}241// CHECK: [[@LINE-1]]:{{[0-9]+}}: error: invalid operand for instruction242 243fmop4s za0.s, {z0.s-z1.s}, {z10.s-z11.s}244// CHECK: [[@LINE-1]]:{{[0-9]+}}: error: Invalid vector list, expected list with 2 consecutive SVE vectors in the range z16-z30, where the first vector is a multiple of 2 and with matching element types245 246