[Frontend] Remove unused includes (NFC) (#116927)
[llvm-project.git] / llvm / test / MC / AArch64 / SVE2 / stnt1d.s
blob85458ea797a9d080926046667bf7b39861a30047
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: not llvm-mc -triple=aarch64 -show-encoding -mattr=+sme < %s 2>&1 \
6 // RUN: | FileCheck %s --check-prefix=CHECK-ERROR
7 // RUN: llvm-mc -triple=aarch64 -filetype=obj -mattr=+sve2 < %s \
8 // RUN: | llvm-objdump -d --mattr=+sve2 - | FileCheck %s --check-prefix=CHECK-INST
9 // RUN: llvm-mc -triple=aarch64 -filetype=obj -mattr=+sve2 < %s \
10 // RUN: | llvm-objdump -d --mattr=-sve2 - | FileCheck %s --check-prefix=CHECK-UNKNOWN
12 stnt1d z0.d, p0, [z1.d]
13 // CHECK-INST: stnt1d { z0.d }, p0, [z1.d]
14 // CHECK-ENCODING: [0x20,0x20,0x9f,0xe5]
15 // CHECK-ERROR: instruction requires: sve2
16 // CHECK-UNKNOWN: e59f2020 <unknown>
18 stnt1d z31.d, p7, [z31.d, xzr]
19 // CHECK-INST: stnt1d { z31.d }, p7, [z31.d]
20 // CHECK-ENCODING: [0xff,0x3f,0x9f,0xe5]
21 // CHECK-ERROR: instruction requires: sve2
22 // CHECK-UNKNOWN: e59f3fff <unknown>
24 stnt1d z31.d, p7, [z31.d, x0]
25 // CHECK-INST: stnt1d { z31.d }, p7, [z31.d, x0]
26 // CHECK-ENCODING: [0xff,0x3f,0x80,0xe5]
27 // CHECK-ERROR: instruction requires: sve2
28 // CHECK-UNKNOWN: e5803fff <unknown>
30 stnt1d { z0.d }, p0, [z1.d]
31 // CHECK-INST: stnt1d { z0.d }, p0, [z1.d]
32 // CHECK-ENCODING: [0x20,0x20,0x9f,0xe5]
33 // CHECK-ERROR: instruction requires: sve2
34 // CHECK-UNKNOWN: e59f2020 <unknown>
36 stnt1d { z31.d }, p7, [z31.d, xzr]
37 // CHECK-INST: stnt1d { z31.d }, p7, [z31.d]
38 // CHECK-ENCODING: [0xff,0x3f,0x9f,0xe5]
39 // CHECK-ERROR: instruction requires: sve2
40 // CHECK-UNKNOWN: e59f3fff <unknown>
42 stnt1d { z31.d }, p7, [z31.d, x0]
43 // CHECK-INST: stnt1d { z31.d }, p7, [z31.d, x0]
44 // CHECK-ENCODING: [0xff,0x3f,0x80,0xe5]
45 // CHECK-ERROR: instruction requires: sve2
46 // CHECK-UNKNOWN: e5803fff <unknown>