Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / llvm / test / MC / AArch64 / SVE2p1 / st1q.s
blob5bf1892339699427aae3bbe752b3b6c83fc180bc
1 // RUN: llvm-mc -triple=aarch64 -show-encoding -mattr=+sve2p1 < %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=+sve2p1 < %s \
6 // RUN: | llvm-objdump -d --mattr=+sve2p1 - | FileCheck %s --check-prefix=CHECK-INST
7 // RUN: llvm-mc -triple=aarch64 -filetype=obj -mattr=+sve2p1 < %s \
8 // RUN: | llvm-objdump -d --mattr=-sme2,-sve2p1 - | FileCheck %s --check-prefix=CHECK-UNKNOWN
9 // RUN: llvm-mc -triple=aarch64 -show-encoding -mattr=+sve2p1 < %s \
10 // RUN: | sed '/.text/d' | sed 's/.*encoding: //g' \
11 // RUN: | llvm-mc -triple=aarch64 -mattr=+sve2p1 -disassemble -show-encoding \
12 // RUN: | FileCheck %s --check-prefixes=CHECK-ENCODING,CHECK-INST
15 st1q {z0.q}, p0, [z0.d, x0] // 11100100-00100000-00100000-00000000
16 // CHECK-INST: st1q { z0.q }, p0, [z0.d, x0]
17 // CHECK-ENCODING: [0x00,0x20,0x20,0xe4]
18 // CHECK-ERROR: instruction requires: sve2p1
19 // CHECK-UNKNOWN: e4202000 <unknown>
21 st1q {z21.q}, p5, [z10.d, x21] // 11100100-00110101-00110101-01010101
22 // CHECK-INST: st1q { z21.q }, p5, [z10.d, x21]
23 // CHECK-ENCODING: [0x55,0x35,0x35,0xe4]
24 // CHECK-ERROR: instruction requires: sve2p1
25 // CHECK-UNKNOWN: e4353555 <unknown>
27 st1q {z23.q}, p3, [z13.d, x8] // 11100100-00101000-00101101-10110111
28 // CHECK-INST: st1q { z23.q }, p3, [z13.d, x8]
29 // CHECK-ENCODING: [0xb7,0x2d,0x28,0xe4]
30 // CHECK-ERROR: instruction requires: sve2p1
31 // CHECK-UNKNOWN: e4282db7 <unknown>
33 st1q {z31.q}, p7, [z31.d] // 11100100-00111111-00111111-11111111
34 // CHECK-INST: st1q { z31.q }, p7, [z31.d]
35 // CHECK-ENCODING: [0xff,0x3f,0x3f,0xe4]
36 // CHECK-ERROR: instruction requires: sve2p1
37 // CHECK-UNKNOWN: e43f3fff <unknown>