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 ldnt1d z0.d
, p0
/z
, [z1.d
]
13 // CHECK-INST
: ldnt1d
{ z0.d
}, p0
/z
, [z1.d
]
14 // CHECK-ENCODING
: [0x20,0xc0,0x9f,0xc5]
15 // CHECK-ERROR
: instruction requires
: sve2
16 // CHECK-UNKNOWN
: c59fc020
<unknown
>
18 ldnt1d z31.d
, p7
/z
, [z31.d
, xzr
]
19 // CHECK-INST
: ldnt1d
{ z31.d
}, p7
/z
, [z31.d
]
20 // CHECK-ENCODING
: [0xff,0xdf,0x9f,0xc5]
21 // CHECK-ERROR
: instruction requires
: sve2
22 // CHECK-UNKNOWN
: c59fdfff
<unknown
>
24 ldnt1d z31.d
, p7
/z
, [z31.d
, x0
]
25 // CHECK-INST
: ldnt1d
{ z31.d
}, p7
/z
, [z31.d
, x0
]
26 // CHECK-ENCODING
: [0xff,0xdf,0x80,0xc5]
27 // CHECK-ERROR
: instruction requires
: sve2
28 // CHECK-UNKNOWN
: c580dfff
<unknown
>
30 ldnt1d
{ z0.d
}, p0
/z
, [z1.d
]
31 // CHECK-INST
: ldnt1d
{ z0.d
}, p0
/z
, [z1.d
]
32 // CHECK-ENCODING
: [0x20,0xc0,0x9f,0xc5]
33 // CHECK-ERROR
: instruction requires
: sve2
34 // CHECK-UNKNOWN
: c59fc020
<unknown
>
36 ldnt1d
{ z31.d
}, p7
/z
, [z31.d
, xzr
]
37 // CHECK-INST
: ldnt1d
{ z31.d
}, p7
/z
, [z31.d
]
38 // CHECK-ENCODING
: [0xff,0xdf,0x9f,0xc5]
39 // CHECK-ERROR
: instruction requires
: sve2
40 // CHECK-UNKNOWN
: c59fdfff
<unknown
>
42 ldnt1d
{ z31.d
}, p7
/z
, [z31.d
, x0
]
43 // CHECK-INST
: ldnt1d
{ z31.d
}, p7
/z
, [z31.d
, x0
]
44 // CHECK-ENCODING
: [0xff,0xdf,0x80,0xc5]
45 // CHECK-ERROR
: instruction requires
: sve2
46 // CHECK-UNKNOWN
: c580dfff
<unknown
>