1 // RUN
: llvm-mc
-triple
=aarch64
-show-encoding
-mattr
=+sve
< %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
=+sve
< %s \
6 // RUN
: | llvm-objdump
-d
-mattr
=+sve
- | FileCheck
%s
--check-prefix
=CHECK-INST
7 // RUN
: llvm-mc
-triple
=aarch64
-filetype
=obj
-mattr
=+sve
< %s \
8 // RUN
: | llvm-objdump
-d
- | FileCheck
%s
--check-prefix
=CHECK-UNKNOWN
11 // CHECK-INST
: dupm z5.
b, #0xf9
12 // CHECK-ENCODING
: [0xa5,0x2e,0xc0,0x05]
13 // CHECK-ERROR
: instruction requires
: sve
14 // CHECK-UNKNOWN
: a5
2e c0
05 <unknown
>
17 // CHECK-INST
: dupm z5.
b, #0xf9
18 // CHECK-ENCODING
: [0xa5,0x2e,0xc0,0x05]
19 // CHECK-ERROR
: instruction requires
: sve
20 // CHECK-UNKNOWN
: a5
2e c0
05 <unknown
>
22 dupm z5.s
, #0xf9f9f9f9
23 // CHECK-INST
: dupm z5.
b, #0xf9
24 // CHECK-ENCODING
: [0xa5,0x2e,0xc0,0x05]
25 // CHECK-ERROR
: instruction requires
: sve
26 // CHECK-UNKNOWN
: a5
2e c0
05 <unknown
>
28 dupm z5.d
, #0xf9f9f9f9f9f9f9f9
29 // CHECK-INST
: dupm z5.
b, #0xf9
30 // CHECK-ENCODING
: [0xa5,0x2e,0xc0,0x05]
31 // CHECK-ERROR
: instruction requires
: sve
32 // CHECK-UNKNOWN
: a5
2e c0
05 <unknown
>
35 // CHECK-INST
: dupm z23.h
, #0xfff9
36 // CHECK-ENCODING
: [0xb7,0x6d,0xc0,0x05]
37 // CHECK-ERROR
: instruction requires
: sve
38 // CHECK-UNKNOWN
: b7
6d c0
05 <unknown
>
40 dupm z23.s
, #0xfff9fff9
41 // CHECK-INST
: dupm z23.h
, #0xfff9
42 // CHECK-ENCODING
: [0xb7,0x6d,0xc0,0x05]
43 // CHECK-ERROR
: instruction requires
: sve
44 // CHECK-UNKNOWN
: b7
6d c0
05 <unknown
>
46 dupm z23.d
, #0xfff9fff9fff9fff9
47 // CHECK-INST
: dupm z23.h
, #0xfff9
48 // CHECK-ENCODING
: [0xb7,0x6d,0xc0,0x05]
49 // CHECK-ERROR
: instruction requires
: sve
50 // CHECK-UNKNOWN
: b7
6d c0
05 <unknown
>
52 dupm z0.s
, #0xfffffff9
53 // CHECK-INST
: dupm z0.s
, #0xfffffff9
54 // CHECK-ENCODING
: [0xa0,0xeb,0xc0,0x05]
55 // CHECK-ERROR
: instruction requires
: sve
56 // CHECK-UNKNOWN
: a0 eb c0
05 <unknown
>
58 dupm z0.d
, #0xfffffff9fffffff9
59 // CHECK-INST
: dupm z0.s
, #0xfffffff9
60 // CHECK-ENCODING
: [0xa0,0xeb,0xc0,0x05]
61 // CHECK-ERROR
: instruction requires
: sve
62 // CHECK-UNKNOWN
: a0 eb c0
05 <unknown
>
64 dupm z0.d
, #0xfffffffffffffff9
65 // CHECK-INST
: dupm z0.d
, #0xfffffffffffffff9
66 // CHECK-ENCODING
: [0xa0,0xef,0xc3,0x05]
67 // CHECK-ERROR
: instruction requires
: sve
68 // CHECK-UNKNOWN
: a0 ef c3
05 <unknown
>