[ARM] Better OR's for MVE compares
[llvm-core.git] / test / MC / AArch64 / SVE2 / pmul.s
blobfb77cdaab52c519c6d6f5e58f7bbdd3b1d13f07a
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 pmul z0.b, z1.b, z2.b
11 // CHECK-INST: pmul z0.b, z1.b, z2.b
12 // CHECK-ENCODING: [0x20,0x64,0x22,0x04]
13 // CHECK-ERROR: instruction requires: sve2
14 // CHECK-UNKNOWN: 20 64 22 04 <unknown>
16 pmul z29.b, z30.b, z31.b
17 // CHECK-INST: pmul z29.b, z30.b, z31.b
18 // CHECK-ENCODING: [0xdd,0x67,0x3f,0x04]
19 // CHECK-ERROR: instruction requires: sve2
20 // CHECK-UNKNOWN: dd 67 3f 04 <unknown>