[ARM] Better OR's for MVE compares
[llvm-core.git] / test / MC / AArch64 / SVE2 / stnt1b.s
blobcab8a6b7f30e255425827b22368fc39a1936df3d
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 stnt1b z0.s, p0, [z1.s]
11 // CHECK-INST: stnt1b { z0.s }, p0, [z1.s]
12 // CHECK-ENCODING: [0x20,0x20,0x5f,0xe4]
13 // CHECK-ERROR: instruction requires: sve2
14 // CHECK-UNKNOWN: 20 20 5f e4 <unknown>
16 stnt1b z31.s, p7, [z31.s, xzr]
17 // CHECK-INST: stnt1b { z31.s }, p7, [z31.s]
18 // CHECK-ENCODING: [0xff,0x3f,0x5f,0xe4]
19 // CHECK-ERROR: instruction requires: sve2
20 // CHECK-UNKNOWN: ff 3f 5f e4 <unknown>
22 stnt1b z31.s, p7, [z31.s, x0]
23 // CHECK-INST: stnt1b { z31.s }, p7, [z31.s, x0]
24 // CHECK-ENCODING: [0xff,0x3f,0x40,0xe4]
25 // CHECK-ERROR: instruction requires: sve2
26 // CHECK-UNKNOWN: ff 3f 40 e4 <unknown>
28 stnt1b z0.d, p0, [z1.d]
29 // CHECK-INST: stnt1b { z0.d }, p0, [z1.d]
30 // CHECK-ENCODING: [0x20,0x20,0x1f,0xe4]
31 // CHECK-ERROR: instruction requires: sve2
32 // CHECK-UNKNOWN: 20 20 1f e4 <unknown>
34 stnt1b z31.d, p7, [z31.d, xzr]
35 // CHECK-INST: stnt1b { z31.d }, p7, [z31.d]
36 // CHECK-ENCODING: [0xff,0x3f,0x1f,0xe4]
37 // CHECK-ERROR: instruction requires: sve2
38 // CHECK-UNKNOWN: ff 3f 1f e4 <unknown>
40 stnt1b z31.d, p7, [z31.d, x0]
41 // CHECK-INST: stnt1b { z31.d }, p7, [z31.d, x0]
42 // CHECK-ENCODING: [0xff,0x3f,0x00,0xe4]
43 // CHECK-ERROR: instruction requires: sve2
44 // CHECK-UNKNOWN: ff 3f 00 e4 <unknown>
46 stnt1b { z0.s }, p0, [z1.s]
47 // CHECK-INST: stnt1b { z0.s }, p0, [z1.s]
48 // CHECK-ENCODING: [0x20,0x20,0x5f,0xe4]
49 // CHECK-ERROR: instruction requires: sve2
50 // CHECK-UNKNOWN: 20 20 5f e4 <unknown>
52 stnt1b { z31.s }, p7, [z31.s, xzr]
53 // CHECK-INST: stnt1b { z31.s }, p7, [z31.s]
54 // CHECK-ENCODING: [0xff,0x3f,0x5f,0xe4]
55 // CHECK-ERROR: instruction requires: sve2
56 // CHECK-UNKNOWN: ff 3f 5f e4 <unknown>
58 stnt1b { z31.s }, p7, [z31.s, x0]
59 // CHECK-INST: stnt1b { z31.s }, p7, [z31.s, x0]
60 // CHECK-ENCODING: [0xff,0x3f,0x40,0xe4]
61 // CHECK-ERROR: instruction requires: sve2
62 // CHECK-UNKNOWN: ff 3f 40 e4 <unknown>
64 stnt1b { z0.d }, p0, [z1.d]
65 // CHECK-INST: stnt1b { z0.d }, p0, [z1.d]
66 // CHECK-ENCODING: [0x20,0x20,0x1f,0xe4]
67 // CHECK-ERROR: instruction requires: sve2
68 // CHECK-UNKNOWN: 20 20 1f e4 <unknown>
70 stnt1b { z31.d }, p7, [z31.d, xzr]
71 // CHECK-INST: stnt1b { z31.d }, p7, [z31.d]
72 // CHECK-ENCODING: [0xff,0x3f,0x1f,0xe4]
73 // CHECK-ERROR: instruction requires: sve2
74 // CHECK-UNKNOWN: ff 3f 1f e4 <unknown>
76 stnt1b { z31.d }, p7, [z31.d, x0]
77 // CHECK-INST: stnt1b { z31.d }, p7, [z31.d, x0]
78 // CHECK-ENCODING: [0xff,0x3f,0x00,0xe4]
79 // CHECK-ERROR: instruction requires: sve2
80 // CHECK-UNKNOWN: ff 3f 00 e4 <unknown>