[ARM] Better OR's for MVE compares
[llvm-core.git] / test / MC / AArch64 / SVE / pnext.s
blob3d788deb05c43f5be95ccbc9b53039eda87d3b50
1 // RUN: llvm-mc -triple=aarch64 -show-encoding -mattr=+sve < %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=+sve < %s \
6 // RUN: | llvm-objdump -d -mattr=+sve - | FileCheck %s --check-prefix=CHECK-INST
7 // RUN: llvm-mc -triple=aarch64 -filetype=obj -mattr=+sve < %s \
8 // RUN: | llvm-objdump -d - | FileCheck %s --check-prefix=CHECK-UNKNOWN
10 pnext p15.b, p15, p15.b
11 // CHECK-INST: pnext p15.b, p15, p15.b
12 // CHECK-ENCODING: [0xef,0xc5,0x19,0x25]
13 // CHECK-ERROR: instruction requires: sve
14 // CHECK-UNKNOWN: ef c5 19 25 <unknown>
16 pnext p0.b, p15, p0.b
17 // CHECK-INST: pnext p0.b, p15, p0.b
18 // CHECK-ENCODING: [0xe0,0xc5,0x19,0x25]
19 // CHECK-ERROR: instruction requires: sve
20 // CHECK-UNKNOWN: e0 c5 19 25 <unknown>
22 pnext p0.h, p15, p0.h
23 // CHECK-INST: pnext p0.h, p15, p0.h
24 // CHECK-ENCODING: [0xe0,0xc5,0x59,0x25]
25 // CHECK-ERROR: instruction requires: sve
26 // CHECK-UNKNOWN: e0 c5 59 25 <unknown>
28 pnext p0.s, p15, p0.s
29 // CHECK-INST: pnext p0.s, p15, p0.s
30 // CHECK-ENCODING: [0xe0,0xc5,0x99,0x25]
31 // CHECK-ERROR: instruction requires: sve
32 // CHECK-UNKNOWN: e0 c5 99 25 <unknown>
34 pnext p0.d, p15, p0.d
35 // CHECK-INST: pnext p0.d, p15, p0.d
36 // CHECK-ENCODING: [0xe0,0xc5,0xd9,0x25]
37 // CHECK-ERROR: instruction requires: sve
38 // CHECK-UNKNOWN: e0 c5 d9 25 <unknown>