[Frontend] Remove unused includes (NFC) (#116927)
[llvm-project.git] / llvm / test / MC / AArch64 / SVE2 / fmmla-f8f16mm.s
blobff343548993cfe5f9007abe6f0b0ee9fd5fc8810
1 // RUN: llvm-mc -triple=aarch64 -show-encoding -mattr=+sve2,+f8f16mm < %s \
2 // RUN: | FileCheck %s --check-prefixes=CHECK-ENCODING,CHECK-INST
3 // RUN: not llvm-mc -triple=aarch64 -show-encoding < %s 2>&1 \
4 // RUN: | FileCheck %s --check-prefix=CHECK-ERROR
5 // RUN: llvm-mc -triple=aarch64 -filetype=obj -mattr=+sve2,+f8f16mm < %s \
6 // RUN: | llvm-objdump -d --mattr=+sve2,+f8f16mm - | FileCheck %s --check-prefix=CHECK-INST
7 // RUN: llvm-mc -triple=aarch64 -filetype=obj -mattr=+sve2,+f8f16mm < %s \
8 // RUN: | llvm-objdump -d --mattr=-sve2 - | FileCheck %s --check-prefix=CHECK-UNKNOWN
9 // Disassemble encoding and check the re-encoding (-show-encoding) matches.
10 // RUN: llvm-mc -triple=aarch64 -show-encoding -mattr=+sve2,+f8f16mm < %s \
11 // RUN: | sed '/.text/d' | sed 's/.*encoding: //g' \
12 // RUN: | llvm-mc -triple=aarch64 -mattr=+sve2,+f8f16mm -disassemble -show-encoding \
13 // RUN: | FileCheck %s --check-prefixes=CHECK-ENCODING,CHECK-INST
15 movprfx z23, z31
16 fmmla z23.h, z13.b, z8.b // 01100100-01101000-11100001-10110111
17 // CHECK-INST: movprfx z23, z31
18 // CHECK-INST: fmmla z23.h, z13.b, z8.b
19 // CHECK-ENCODING: [0xb7,0xe1,0x68,0x64]
20 // CHECK-ERROR: instruction requires: f8f16mm sve2
21 // CHECK-UNKNOWN: 6468e1b7 <unknown>
23 fmmla z0.h, z0.b, z0.b // 01100100-01100000-11100000-00000000
24 // CHECK-INST: fmmla z0.h, z0.b, z0.b
25 // CHECK-ENCODING: [0x00,0xe0,0x60,0x64]
26 // CHECK-ERROR: instruction requires: f8f16mm sve2
27 // CHECK-UNKNOWN: 6460e000 <unknown>
29 fmmla z21.h, z10.b, z21.b // 01100100-01110101-11100001-01010101
30 // CHECK-INST: fmmla z21.h, z10.b, z21.b
31 // CHECK-ENCODING: [0x55,0xe1,0x75,0x64]
32 // CHECK-ERROR: instruction requires: f8f16mm sve2
33 // CHECK-UNKNOWN: 6475e155 <unknown>
35 fmmla z31.h, z31.b, z31.b // 01100100-01111111-11100011-11111111
36 // CHECK-INST: fmmla z31.h, z31.b, z31.b
37 // CHECK-ENCODING: [0xff,0xe3,0x7f,0x64]
38 // CHECK-ERROR: instruction requires: f8f16mm sve2
39 // CHECK-UNKNOWN: 647fe3ff <unknown>