| 1 |
// RUN: llvm-mc -triple=aarch64 -show-encoding -mattr=+sme-f16f16 < %s \ |
| 2 |
// RUN: | FileCheck %s --check-prefixes=CHECK-ENCODING,CHECK-INST |
| 3 |
// RUN: llvm-mc -triple=aarch64 -show-encoding -mattr=+sme-f8f16 < %s \ |
| 4 |
// RUN: | FileCheck %s --check-prefixes=CHECK-ENCODING,CHECK-INST |
| 5 |
// RUN: not llvm-mc -triple=aarch64 -show-encoding < %s 2>&1 \ |
| 6 |
// RUN: | FileCheck %s --check-prefix=CHECK-ERROR |
| 7 |
// RUN: llvm-mc -triple=aarch64 -filetype=obj -mattr=+sme-f16f16 < %s \ |
| 8 |
// RUN: | llvm-objdump -d --mattr=+sme-f16f16 - | FileCheck %s --check-prefix=CHECK-INST |
| 9 |
// RUN: llvm-mc -triple=aarch64 -filetype=obj -mattr=+sme-f16f16 < %s \ |
| 10 |
// RUN: | llvm-objdump -d --mattr=-sme2p1 - | FileCheck %s --check-prefix=CHECK-UNKNOWN |
| 11 |
// RUN: llvm-mc -triple=aarch64 -show-encoding -mattr=+sme-f16f16 < %s \ |
| 12 |
// RUN: | sed '/.text/d' | sed 's/.*encoding: //g' \ |
| 13 |
// RUN: | llvm-mc -triple=aarch64 -mattr=+sme-f16f16 -disassemble -show-encoding \ |
| 14 |
// RUN: | FileCheck %s --check-prefixes=CHECK-ENCODING,CHECK-INST |
| 15 |
|
| 16 |
|
| 17 |
fsub za.h[w8, 0], {z0.h - z1.h} // 11000001-10100100-00011100-00001000 |
| 18 |
// CHECK-INST: fsub za.h[w8, 0, vgx2], { z0.h, z1.h } |
| 19 |
// CHECK-ENCODING: [0x08,0x1c,0xa4,0xc1] |
| 20 |
// CHECK-ERROR: instruction requires: sme-f16f16 or sme-f8f16 |
| 21 |
// CHECK-UNKNOWN: c1a41c08 <unknown> |
| 22 |
|
| 23 |
fsub za.h[w10, 5, vgx2], {z10.h, z11.h} // 11000001-10100100-01011101-01001101 |
| 24 |
// CHECK-INST: fsub za.h[w10, 5, vgx2], { z10.h, z11.h } |
| 25 |
// CHECK-ENCODING: [0x4d,0x5d,0xa4,0xc1] |
| 26 |
// CHECK-ERROR: instruction requires: sme-f16f16 or sme-f8f16 |
| 27 |
// CHECK-UNKNOWN: c1a45d4d <unknown> |
| 28 |
|
| 29 |
fsub za.h[w10, 5], {z10.h - z11.h} // 11000001-10100100-01011101-01001101 |
| 30 |
// CHECK-INST: fsub za.h[w10, 5, vgx2], { z10.h, z11.h } |
| 31 |
// CHECK-ENCODING: [0x4d,0x5d,0xa4,0xc1] |
| 32 |
// CHECK-ERROR: instruction requires: sme-f16f16 or sme-f8f16 |
| 33 |
// CHECK-UNKNOWN: c1a45d4d <unknown> |
| 34 |
|
| 35 |
fsub za.h[w11, 7, vgx2], {z12.h, z13.h} // 11000001-10100100-01111101-10001111 |
| 36 |
// CHECK-INST: fsub za.h[w11, 7, vgx2], { z12.h, z13.h } |
| 37 |
// CHECK-ENCODING: [0x8f,0x7d,0xa4,0xc1] |
| 38 |
// CHECK-ERROR: instruction requires: sme-f16f16 or sme-f8f16 |
| 39 |
// CHECK-UNKNOWN: c1a47d8f <unknown> |
| 40 |
|
| 41 |
fsub za.h[w11, 7], {z12.h - z13.h} // 11000001-10100100-01111101-10001111 |
| 42 |
// CHECK-INST: fsub za.h[w11, 7, vgx2], { z12.h, z13.h } |
| 43 |
// CHECK-ENCODING: [0x8f,0x7d,0xa4,0xc1] |
| 44 |
// CHECK-ERROR: instruction requires: sme-f16f16 or sme-f8f16 |
| 45 |
// CHECK-UNKNOWN: c1a47d8f <unknown> |
| 46 |
|
| 47 |
fsub za.h[w11, 7, vgx2], {z30.h, z31.h} // 11000001-10100100-01111111-11001111 |
| 48 |
// CHECK-INST: fsub za.h[w11, 7, vgx2], { z30.h, z31.h } |
| 49 |
// CHECK-ENCODING: [0xcf,0x7f,0xa4,0xc1] |
| 50 |
// CHECK-ERROR: instruction requires: sme-f16f16 or sme-f8f16 |
| 51 |
// CHECK-UNKNOWN: c1a47fcf <unknown> |
| 52 |
|
| 53 |
fsub za.h[w11, 7], {z30.h - z31.h} // 11000001-10100100-01111111-11001111 |
| 54 |
// CHECK-INST: fsub za.h[w11, 7, vgx2], { z30.h, z31.h } |
| 55 |
// CHECK-ENCODING: [0xcf,0x7f,0xa4,0xc1] |
| 56 |
// CHECK-ERROR: instruction requires: sme-f16f16 or sme-f8f16 |
| 57 |
// CHECK-UNKNOWN: c1a47fcf <unknown> |
| 58 |
|
| 59 |
fsub za.h[w8, 5, vgx2], {z16.h, z17.h} // 11000001-10100100-00011110-00001101 |
| 60 |
// CHECK-INST: fsub za.h[w8, 5, vgx2], { z16.h, z17.h } |
| 61 |
// CHECK-ENCODING: [0x0d,0x1e,0xa4,0xc1] |
| 62 |
// CHECK-ERROR: instruction requires: sme-f16f16 or sme-f8f16 |
| 63 |
// CHECK-UNKNOWN: c1a41e0d <unknown> |
| 64 |
|
| 65 |
fsub za.h[w8, 5], {z16.h - z17.h} // 11000001-10100100-00011110-00001101 |
| 66 |
// CHECK-INST: fsub za.h[w8, 5, vgx2], { z16.h, z17.h } |
| 67 |
// CHECK-ENCODING: [0x0d,0x1e,0xa4,0xc1] |
| 68 |
// CHECK-ERROR: instruction requires: sme-f16f16 or sme-f8f16 |
| 69 |
// CHECK-UNKNOWN: c1a41e0d <unknown> |
| 70 |
|
| 71 |
fsub za.h[w8, 1, vgx2], {z0.h, z1.h} // 11000001-10100100-00011100-00001001 |
| 72 |
// CHECK-INST: fsub za.h[w8, 1, vgx2], { z0.h, z1.h } |
| 73 |
// CHECK-ENCODING: [0x09,0x1c,0xa4,0xc1] |
| 74 |
// CHECK-ERROR: instruction requires: sme-f16f16 or sme-f8f16 |
| 75 |
// CHECK-UNKNOWN: c1a41c09 <unknown> |
| 76 |
|
| 77 |
fsub za.h[w8, 1], {z0.h - z1.h} // 11000001-10100100-00011100-00001001 |
| 78 |
// CHECK-INST: fsub za.h[w8, 1, vgx2], { z0.h, z1.h } |
| 79 |
// CHECK-ENCODING: [0x09,0x1c,0xa4,0xc1] |
| 80 |
// CHECK-ERROR: instruction requires: sme-f16f16 or sme-f8f16 |
| 81 |
// CHECK-UNKNOWN: c1a41c09 <unknown> |
| 82 |
|
| 83 |
fsub za.h[w10, 0, vgx2], {z18.h, z19.h} // 11000001-10100100-01011110, 01001000 |
| 84 |
// CHECK-INST: fsub za.h[w10, 0, vgx2], { z18.h, z19.h } |
| 85 |
// CHECK-ENCODING: [0x48,0x5e,0xa4,0xc1] |
| 86 |
// CHECK-ERROR: instruction requires: sme-f16f16 or sme-f8f16 |
| 87 |
// CHECK-UNKNOWN: c1a45e48 <unknown> |
| 88 |
|
| 89 |
fsub za.h[w10, 0], {z18.h - z19.h} // 11000001-10100100-01011110-01001000 |
| 90 |
// CHECK-INST: fsub za.h[w10, 0, vgx2], { z18.h, z19.h } |
| 91 |
// CHECK-ENCODING: [0x48,0x5e,0xa4,0xc1] |
| 92 |
// CHECK-ERROR: instruction requires: sme-f16f16 or sme-f8f16 |
| 93 |
// CHECK-UNKNOWN: c1a45e48 <unknown> |
| 94 |
|
| 95 |
fsub za.h[w8, 0, vgx2], {z12.h, z13.h} // 11000001-10100100-00011101-10001000 |
| 96 |
// CHECK-INST: fsub za.h[w8, 0, vgx2], { z12.h, z13.h } |
| 97 |
// CHECK-ENCODING: [0x88,0x1d,0xa4,0xc1] |
| 98 |
// CHECK-ERROR: instruction requires: sme-f16f16 or sme-f8f16 |
| 99 |
// CHECK-UNKNOWN: c1a41d88 <unknown> |
| 100 |
|
| 101 |
fsub za.h[w8, 0], {z12.h - z13.h} // 11000001-10100100-00011101-10001000 |
| 102 |
// CHECK-INST: fsub za.h[w8, 0, vgx2], { z12.h, z13.h } |
| 103 |
// CHECK-ENCODING: [0x88,0x1d,0xa4,0xc1] |
| 104 |
// CHECK-ERROR: instruction requires: sme-f16f16 or sme-f8f16 |
| 105 |
// CHECK-UNKNOWN: c1a41d88 <unknown> |
| 106 |
|
| 107 |
fsub za.h[w10, 1, vgx2], {z0.h, z1.h} // 11000001-10100100-01011100-00001001 |
| 108 |
// CHECK-INST: fsub za.h[w10, 1, vgx2], { z0.h, z1.h } |
| 109 |
// CHECK-ENCODING: [0x09,0x5c,0xa4,0xc1] |
| 110 |
// CHECK-ERROR: instruction requires: sme-f16f16 or sme-f8f16 |
| 111 |
// CHECK-UNKNOWN: c1a45c09 <unknown> |
| 112 |
|
| 113 |
fsub za.h[w10, 1], {z0.h - z1.h} // 11000001-10100100-01011100-00001001 |
| 114 |
// CHECK-INST: fsub za.h[w10, 1, vgx2], { z0.h, z1.h } |
| 115 |
// CHECK-ENCODING: [0x09,0x5c,0xa4,0xc1] |
| 116 |
// CHECK-ERROR: instruction requires: sme-f16f16 or sme-f8f16 |
| 117 |
// CHECK-UNKNOWN: c1a45c09 <unknown> |
| 118 |
|
| 119 |
fsub za.h[w8, 5, vgx2], {z22.h, z23.h} // 11000001-10100100-00011110, 11001101 |
| 120 |
// CHECK-INST: fsub za.h[w8, 5, vgx2], { z22.h, z23.h } |
| 121 |
// CHECK-ENCODING: [0xcd,0x1e,0xa4,0xc1] |
| 122 |
// CHECK-ERROR: instruction requires: sme-f16f16 or sme-f8f16 |
| 123 |
// CHECK-UNKNOWN: c1a41ecd <unknown> |
| 124 |
|
| 125 |
fsub za.h[w8, 5], {z22.h - z23.h} // 11000001-10100100-00011110-11001101 |
| 126 |
// CHECK-INST: fsub za.h[w8, 5, vgx2], { z22.h, z23.h } |
| 127 |
// CHECK-ENCODING: [0xcd,0x1e,0xa4,0xc1] |
| 128 |
// CHECK-ERROR: instruction requires: sme-f16f16 or sme-f8f16 |
| 129 |
// CHECK-UNKNOWN: c1a41ecd <unknown> |
| 130 |
|
| 131 |
fsub za.h[w11, 2, vgx2], {z8.h, z9.h} // 11000001-10100100-01111101-00001010 |
| 132 |
// CHECK-INST: fsub za.h[w11, 2, vgx2], { z8.h, z9.h } |
| 133 |
// CHECK-ENCODING: [0x0a,0x7d,0xa4,0xc1] |
| 134 |
// CHECK-ERROR: instruction requires: sme-f16f16 or sme-f8f16 |
| 135 |
// CHECK-UNKNOWN: c1a47d0a <unknown> |
| 136 |
|
| 137 |
fsub za.h[w11, 2], {z8.h - z9.h} // 11000001-10100100-01111101-00001010 |
| 138 |
// CHECK-INST: fsub za.h[w11, 2, vgx2], { z8.h, z9.h } |
| 139 |
// CHECK-ENCODING: [0x0a,0x7d,0xa4,0xc1] |
| 140 |
// CHECK-ERROR: instruction requires: sme-f16f16 or sme-f8f16 |
| 141 |
// CHECK-UNKNOWN: c1a47d0a <unknown> |
| 142 |
|
| 143 |
fsub za.h[w9, 7, vgx2], {z12.h, z13.h} // 11000001-10100100-00111101-10001111 |
| 144 |
// CHECK-INST: fsub za.h[w9, 7, vgx2], { z12.h, z13.h } |
| 145 |
// CHECK-ENCODING: [0x8f,0x3d,0xa4,0xc1] |
| 146 |
// CHECK-ERROR: instruction requires: sme-f16f16 or sme-f8f16 |
| 147 |
// CHECK-UNKNOWN: c1a43d8f <unknown> |
| 148 |
|
| 149 |
fsub za.h[w9, 7], {z12.h - z13.h} // 11000001-10100100-00111101-10001111 |
| 150 |
// CHECK-INST: fsub za.h[w9, 7, vgx2], { z12.h, z13.h } |
| 151 |
// CHECK-ENCODING: [0x8f,0x3d,0xa4,0xc1] |
| 152 |
// CHECK-ERROR: instruction requires: sme-f16f16 or sme-f8f16 |
| 153 |
// CHECK-UNKNOWN: c1a43d8f <unknown> |
| 154 |
|
| 155 |
|
| 156 |
fsub za.h[w8, 0, vgx4], {z0.h - z3.h} // 11000001-10100101-00011100-00001000 |
| 157 |
// CHECK-INST: fsub za.h[w8, 0, vgx4], { z0.h - z3.h } |
| 158 |
// CHECK-ENCODING: [0x08,0x1c,0xa5,0xc1] |
| 159 |
// CHECK-ERROR: instruction requires: sme-f16f16 or sme-f8f16 |
| 160 |
// CHECK-UNKNOWN: c1a51c08 <unknown> |
| 161 |
|
| 162 |
fsub za.h[w8, 0], {z0.h - z3.h} // 11000001-10100101-00011100-00001000 |
| 163 |
// CHECK-INST: fsub za.h[w8, 0, vgx4], { z0.h - z3.h } |
| 164 |
// CHECK-ENCODING: [0x08,0x1c,0xa5,0xc1] |
| 165 |
// CHECK-ERROR: instruction requires: sme-f16f16 or sme-f8f16 |
| 166 |
// CHECK-UNKNOWN: c1a51c08 <unknown> |
| 167 |
|
| 168 |
fsub za.h[w10, 5, vgx4], {z8.h - z11.h} // 11000001-10100101-01011101-00001101 |
| 169 |
// CHECK-INST: fsub za.h[w10, 5, vgx4], { z8.h - z11.h } |
| 170 |
// CHECK-ENCODING: [0x0d,0x5d,0xa5,0xc1] |
| 171 |
// CHECK-ERROR: instruction requires: sme-f16f16 or sme-f8f16 |
| 172 |
// CHECK-UNKNOWN: c1a55d0d <unknown> |
| 173 |
|
| 174 |
fsub za.h[w10, 5], {z8.h - z11.h} // 11000001-10100101-01011101-00001101 |
| 175 |
// CHECK-INST: fsub za.h[w10, 5, vgx4], { z8.h - z11.h } |
| 176 |
// CHECK-ENCODING: [0x0d,0x5d,0xa5,0xc1] |
| 177 |
// CHECK-ERROR: instruction requires: sme-f16f16 or sme-f8f16 |
| 178 |
// CHECK-UNKNOWN: c1a55d0d <unknown> |
| 179 |
|
| 180 |
fsub za.h[w11, 7, vgx4], {z12.h - z15.h} // 11000001-10100101-01111101-10001111 |
| 181 |
// CHECK-INST: fsub za.h[w11, 7, vgx4], { z12.h - z15.h } |
| 182 |
// CHECK-ENCODING: [0x8f,0x7d,0xa5,0xc1] |
| 183 |
// CHECK-ERROR: instruction requires: sme-f16f16 or sme-f8f16 |
| 184 |
// CHECK-UNKNOWN: c1a57d8f <unknown> |
| 185 |
|
| 186 |
fsub za.h[w11, 7], {z12.h - z15.h} // 11000001-10100101-01111101-10001111 |
| 187 |
// CHECK-INST: fsub za.h[w11, 7, vgx4], { z12.h - z15.h } |
| 188 |
// CHECK-ENCODING: [0x8f,0x7d,0xa5,0xc1] |
| 189 |
// CHECK-ERROR: instruction requires: sme-f16f16 or sme-f8f16 |
| 190 |
// CHECK-UNKNOWN: c1a57d8f <unknown> |
| 191 |
|
| 192 |
fsub za.h[w11, 7, vgx4], {z28.h - z31.h} // 11000001-10100101-01111111-10001111 |
| 193 |
// CHECK-INST: fsub za.h[w11, 7, vgx4], { z28.h - z31.h } |
| 194 |
// CHECK-ENCODING: [0x8f,0x7f,0xa5,0xc1] |
| 195 |
// CHECK-ERROR: instruction requires: sme-f16f16 or sme-f8f16 |
| 196 |
// CHECK-UNKNOWN: c1a57f8f <unknown> |
| 197 |
|
| 198 |
fsub za.h[w11, 7], {z28.h - z31.h} // 11000001-10100101-01111111-10001111 |
| 199 |
// CHECK-INST: fsub za.h[w11, 7, vgx4], { z28.h - z31.h } |
| 200 |
// CHECK-ENCODING: [0x8f,0x7f,0xa5,0xc1] |
| 201 |
// CHECK-ERROR: instruction requires: sme-f16f16 or sme-f8f16 |
| 202 |
// CHECK-UNKNOWN: c1a57f8f <unknown> |
| 203 |
|
| 204 |
fsub za.h[w8, 5, vgx4], {z16.h - z19.h} // 11000001-10100101-00011110-00001101 |
| 205 |
// CHECK-INST: fsub za.h[w8, 5, vgx4], { z16.h - z19.h } |
| 206 |
// CHECK-ENCODING: [0x0d,0x1e,0xa5,0xc1] |
| 207 |
// CHECK-ERROR: instruction requires: sme-f16f16 or sme-f8f16 |
| 208 |
// CHECK-UNKNOWN: c1a51e0d <unknown> |
| 209 |
|
| 210 |
fsub za.h[w8, 5], {z16.h - z19.h} // 11000001-10100101-00011110-00001101 |
| 211 |
// CHECK-INST: fsub za.h[w8, 5, vgx4], { z16.h - z19.h } |
| 212 |
// CHECK-ENCODING: [0x0d,0x1e,0xa5,0xc1] |
| 213 |
// CHECK-ERROR: instruction requires: sme-f16f16 or sme-f8f16 |
| 214 |
// CHECK-UNKNOWN: c1a51e0d <unknown> |
| 215 |
|
| 216 |
fsub za.h[w8, 1, vgx4], {z0.h - z3.h} // 11000001-10100101-00011100-00001001 |
| 217 |
// CHECK-INST: fsub za.h[w8, 1, vgx4], { z0.h - z3.h } |
| 218 |
// CHECK-ENCODING: [0x09,0x1c,0xa5,0xc1] |
| 219 |
// CHECK-ERROR: instruction requires: sme-f16f16 or sme-f8f16 |
| 220 |
// CHECK-UNKNOWN: c1a51c09 <unknown> |
| 221 |
|
| 222 |
fsub za.h[w8, 1], {z0.h - z3.h} // 11000001-10100101-00011100-00001001 |
| 223 |
// CHECK-INST: fsub za.h[w8, 1, vgx4], { z0.h - z3.h } |
| 224 |
// CHECK-ENCODING: [0x09,0x1c,0xa5,0xc1] |
| 225 |
// CHECK-ERROR: instruction requires: sme-f16f16 or sme-f8f16 |
| 226 |
// CHECK-UNKNOWN: c1a51c09 <unknown> |
| 227 |
|
| 228 |
fsub za.h[w10, 0, vgx4], {z16.h - z19.h} // 11000001-10100101-01011110-00001000 |
| 229 |
// CHECK-INST: fsub za.h[w10, 0, vgx4], { z16.h - z19.h } |
| 230 |
// CHECK-ENCODING: [0x08,0x5e,0xa5,0xc1] |
| 231 |
// CHECK-ERROR: instruction requires: sme-f16f16 or sme-f8f16 |
| 232 |
// CHECK-UNKNOWN: c1a55e08 <unknown> |
| 233 |
|
| 234 |
fsub za.h[w10, 0], {z16.h - z19.h} // 11000001-10100101-01011110-00001000 |
| 235 |
// CHECK-INST: fsub za.h[w10, 0, vgx4], { z16.h - z19.h } |
| 236 |
// CHECK-ENCODING: [0x08,0x5e,0xa5,0xc1] |
| 237 |
// CHECK-ERROR: instruction requires: sme-f16f16 or sme-f8f16 |
| 238 |
// CHECK-UNKNOWN: c1a55e08 <unknown> |
| 239 |
|
| 240 |
fsub za.h[w8, 0, vgx4], {z12.h - z15.h} // 11000001-10100101-00011101-10001000 |
| 241 |
// CHECK-INST: fsub za.h[w8, 0, vgx4], { z12.h - z15.h } |
| 242 |
// CHECK-ENCODING: [0x88,0x1d,0xa5,0xc1] |
| 243 |
// CHECK-ERROR: instruction requires: sme-f16f16 or sme-f8f16 |
| 244 |
// CHECK-UNKNOWN: c1a51d88 <unknown> |
| 245 |
|
| 246 |
fsub za.h[w8, 0], {z12.h - z15.h} // 11000001-10100101-00011101-10001000 |
| 247 |
// CHECK-INST: fsub za.h[w8, 0, vgx4], { z12.h - z15.h } |
| 248 |
// CHECK-ENCODING: [0x88,0x1d,0xa5,0xc1] |
| 249 |
// CHECK-ERROR: instruction requires: sme-f16f16 or sme-f8f16 |
| 250 |
// CHECK-UNKNOWN: c1a51d88 <unknown> |
| 251 |
|
| 252 |
fsub za.h[w10, 1, vgx4], {z0.h - z3.h} // 11000001-10100101-01011100-00001001 |
| 253 |
// CHECK-INST: fsub za.h[w10, 1, vgx4], { z0.h - z3.h } |
| 254 |
// CHECK-ENCODING: [0x09,0x5c,0xa5,0xc1] |
| 255 |
// CHECK-ERROR: instruction requires: sme-f16f16 or sme-f8f16 |
| 256 |
// CHECK-UNKNOWN: c1a55c09 <unknown> |
| 257 |
|
| 258 |
fsub za.h[w10, 1], {z0.h - z3.h} // 11000001-10100101-01011100-00001001 |
| 259 |
// CHECK-INST: fsub za.h[w10, 1, vgx4], { z0.h - z3.h } |
| 260 |
// CHECK-ENCODING: [0x09,0x5c,0xa5,0xc1] |
| 261 |
// CHECK-ERROR: instruction requires: sme-f16f16 or sme-f8f16 |
| 262 |
// CHECK-UNKNOWN: c1a55c09 <unknown> |
| 263 |
|
| 264 |
fsub za.h[w8, 5, vgx4], {z20.h - z23.h} // 11000001-10100101-00011110-10001101 |
| 265 |
// CHECK-INST: fsub za.h[w8, 5, vgx4], { z20.h - z23.h } |
| 266 |
// CHECK-ENCODING: [0x8d,0x1e,0xa5,0xc1] |
| 267 |
// CHECK-ERROR: instruction requires: sme-f16f16 or sme-f8f16 |
| 268 |
// CHECK-UNKNOWN: c1a51e8d <unknown> |
| 269 |
|
| 270 |
fsub za.h[w8, 5], {z20.h - z23.h} // 11000001-10100101-00011110-10001101 |
| 271 |
// CHECK-INST: fsub za.h[w8, 5, vgx4], { z20.h - z23.h } |
| 272 |
// CHECK-ENCODING: [0x8d,0x1e,0xa5,0xc1] |
| 273 |
// CHECK-ERROR: instruction requires: sme-f16f16 or sme-f8f16 |
| 274 |
// CHECK-UNKNOWN: c1a51e8d <unknown> |
| 275 |
|
| 276 |
fsub za.h[w11, 2, vgx4], {z8.h - z11.h} // 11000001-10100101-01111101-00001010 |
| 277 |
// CHECK-INST: fsub za.h[w11, 2, vgx4], { z8.h - z11.h } |
| 278 |
// CHECK-ENCODING: [0x0a,0x7d,0xa5,0xc1] |
| 279 |
// CHECK-ERROR: instruction requires: sme-f16f16 or sme-f8f16 |
| 280 |
// CHECK-UNKNOWN: c1a57d0a <unknown> |
| 281 |
|
| 282 |
fsub za.h[w11, 2], {z8.h - z11.h} // 11000001-10100101-01111101-00001010 |
| 283 |
// CHECK-INST: fsub za.h[w11, 2, vgx4], { z8.h - z11.h } |
| 284 |
// CHECK-ENCODING: [0x0a,0x7d,0xa5,0xc1] |
| 285 |
// CHECK-ERROR: instruction requires: sme-f16f16 or sme-f8f16 |
| 286 |
// CHECK-UNKNOWN: c1a57d0a <unknown> |
| 287 |
|
| 288 |
fsub za.h[w9, 7, vgx4], {z12.h - z15.h} // 11000001-10100101-00111101-10001111 |
| 289 |
// CHECK-INST: fsub za.h[w9, 7, vgx4], { z12.h - z15.h } |
| 290 |
// CHECK-ENCODING: [0x8f,0x3d,0xa5,0xc1] |
| 291 |
// CHECK-ERROR: instruction requires: sme-f16f16 or sme-f8f16 |
| 292 |
// CHECK-UNKNOWN: c1a53d8f <unknown> |
| 293 |
|
| 294 |
fsub za.h[w9, 7], {z12.h - z15.h} // 11000001-10100101-00111101-10001111 |
| 295 |
// CHECK-INST: fsub za.h[w9, 7, vgx4], { z12.h - z15.h } |
| 296 |
// CHECK-ENCODING: [0x8f,0x3d,0xa5,0xc1] |
| 297 |
// CHECK-ERROR: instruction requires: sme-f16f16 or sme-f8f16 |
| 298 |
// CHECK-UNKNOWN: c1a53d8f <unknown> |