[llvm-objdump] - Remove one overload of reportError. NFCI.
[llvm-complete.git] / test / MC / AArch64 / SVE2 / mul.s
blob38f487d20b98f9215f47f867da1202b47eefc64d
1 // RUN: llvm-mc -triple=aarch64 -show-encoding -mattr=+sve2 < %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 < %s \
6 // RUN: | llvm-objdump -d -mattr=+sve2 - | FileCheck %s --check-prefix=CHECK-INST
7 // RUN: llvm-mc -triple=aarch64 -filetype=obj -mattr=+sve2 < %s \
8 // RUN: | llvm-objdump -d - | FileCheck %s --check-prefix=CHECK-UNKNOWN
10 mul z0.b, z1.b, z2.b
11 // CHECK-INST: mul z0.b, z1.b, z2.b
12 // CHECK-ENCODING: [0x20,0x60,0x22,0x04]
13 // CHECK-ERROR: instruction requires: sve2
14 // CHECK-UNKNOWN: 20 60 22 04 <unknown>
16 mul z0.h, z1.h, z2.h
17 // CHECK-INST: mul z0.h, z1.h, z2.h
18 // CHECK-ENCODING: [0x20,0x60,0x62,0x04]
19 // CHECK-ERROR: instruction requires: sve2
20 // CHECK-UNKNOWN: 20 60 62 04 <unknown>
22 mul z29.s, z30.s, z31.s
23 // CHECK-INST: mul z29.s, z30.s, z31.s
24 // CHECK-ENCODING: [0xdd,0x63,0xbf,0x04]
25 // CHECK-ERROR: instruction requires: sve2
26 // CHECK-UNKNOWN: dd 63 bf 04 <unknown>
28 mul z31.d, z31.d, z31.d
29 // CHECK-INST: mul z31.d, z31.d, z31.d
30 // CHECK-ENCODING: [0xff,0x63,0xff,0x04]
31 // CHECK-ERROR: instruction requires: sve2
32 // CHECK-UNKNOWN: ff 63 ff 04 <unknown>
34 mul z0.h, z1.h, z7.h[7]
35 // CHECK-INST: mul z0.h, z1.h, z7.h[7]
36 // CHECK-ENCODING: [0x20,0xf8,0x7f,0x44]
37 // CHECK-ERROR: instruction requires: sve2
38 // CHECK-UNKNOWN: 20 f8 7f 44 <unknown>
40 mul z0.s, z1.s, z7.s[3]
41 // CHECK-INST: mul z0.s, z1.s, z7.s[3]
42 // CHECK-ENCODING: [0x20,0xf8,0xbf,0x44]
43 // CHECK-ERROR: instruction requires: sve2
44 // CHECK-UNKNOWN: 20 f8 bf 44 <unknown>
46 mul z0.d, z1.d, z15.d[1]
47 // CHECK-INST: mul z0.d, z1.d, z15.d[1]
48 // CHECK-ENCODING: [0x20,0xf8,0xff,0x44]
49 // CHECK-ERROR: instruction requires: sve2
50 // CHECK-UNKNOWN: 20 f8 ff 44 <unknown>