[clang][modules] Don't prevent translation of FW_Private includes when explicitly...
[llvm-project.git] / llvm / test / MC / AArch64 / SVE2 / stnt1b.s
blobc3c0e86b529a1dff665ca4672f9a0ca121460a6c
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 stnt1b z0.s, p0, [z1.s]
13 // CHECK-INST: stnt1b { z0.s }, p0, [z1.s]
14 // CHECK-ENCODING: [0x20,0x20,0x5f,0xe4]
15 // CHECK-ERROR: instruction requires: sve2
16 // CHECK-UNKNOWN: e45f2020 <unknown>
18 stnt1b z31.s, p7, [z31.s, xzr]
19 // CHECK-INST: stnt1b { z31.s }, p7, [z31.s]
20 // CHECK-ENCODING: [0xff,0x3f,0x5f,0xe4]
21 // CHECK-ERROR: instruction requires: sve2
22 // CHECK-UNKNOWN: e45f3fff <unknown>
24 stnt1b z31.s, p7, [z31.s, x0]
25 // CHECK-INST: stnt1b { z31.s }, p7, [z31.s, x0]
26 // CHECK-ENCODING: [0xff,0x3f,0x40,0xe4]
27 // CHECK-ERROR: instruction requires: sve2
28 // CHECK-UNKNOWN: e4403fff <unknown>
30 stnt1b z0.d, p0, [z1.d]
31 // CHECK-INST: stnt1b { z0.d }, p0, [z1.d]
32 // CHECK-ENCODING: [0x20,0x20,0x1f,0xe4]
33 // CHECK-ERROR: instruction requires: sve2
34 // CHECK-UNKNOWN: e41f2020 <unknown>
36 stnt1b z31.d, p7, [z31.d, xzr]
37 // CHECK-INST: stnt1b { z31.d }, p7, [z31.d]
38 // CHECK-ENCODING: [0xff,0x3f,0x1f,0xe4]
39 // CHECK-ERROR: instruction requires: sve2
40 // CHECK-UNKNOWN: e41f3fff <unknown>
42 stnt1b z31.d, p7, [z31.d, x0]
43 // CHECK-INST: stnt1b { z31.d }, p7, [z31.d, x0]
44 // CHECK-ENCODING: [0xff,0x3f,0x00,0xe4]
45 // CHECK-ERROR: instruction requires: sve2
46 // CHECK-UNKNOWN: e4003fff <unknown>
48 stnt1b { z0.s }, p0, [z1.s]
49 // CHECK-INST: stnt1b { z0.s }, p0, [z1.s]
50 // CHECK-ENCODING: [0x20,0x20,0x5f,0xe4]
51 // CHECK-ERROR: instruction requires: sve2
52 // CHECK-UNKNOWN: e45f2020 <unknown>
54 stnt1b { z31.s }, p7, [z31.s, xzr]
55 // CHECK-INST: stnt1b { z31.s }, p7, [z31.s]
56 // CHECK-ENCODING: [0xff,0x3f,0x5f,0xe4]
57 // CHECK-ERROR: instruction requires: sve2
58 // CHECK-UNKNOWN: e45f3fff <unknown>
60 stnt1b { z31.s }, p7, [z31.s, x0]
61 // CHECK-INST: stnt1b { z31.s }, p7, [z31.s, x0]
62 // CHECK-ENCODING: [0xff,0x3f,0x40,0xe4]
63 // CHECK-ERROR: instruction requires: sve2
64 // CHECK-UNKNOWN: e4403fff <unknown>
66 stnt1b { z0.d }, p0, [z1.d]
67 // CHECK-INST: stnt1b { z0.d }, p0, [z1.d]
68 // CHECK-ENCODING: [0x20,0x20,0x1f,0xe4]
69 // CHECK-ERROR: instruction requires: sve2
70 // CHECK-UNKNOWN: e41f2020 <unknown>
72 stnt1b { z31.d }, p7, [z31.d, xzr]
73 // CHECK-INST: stnt1b { z31.d }, p7, [z31.d]
74 // CHECK-ENCODING: [0xff,0x3f,0x1f,0xe4]
75 // CHECK-ERROR: instruction requires: sve2
76 // CHECK-UNKNOWN: e41f3fff <unknown>
78 stnt1b { z31.d }, p7, [z31.d, x0]
79 // CHECK-INST: stnt1b { z31.d }, p7, [z31.d, x0]
80 // CHECK-ENCODING: [0xff,0x3f,0x00,0xe4]
81 // CHECK-ERROR: instruction requires: sve2
82 // CHECK-UNKNOWN: e4003fff <unknown>