1 // RUN
: llvm-mc
-triple
=aarch64
-show-encoding
-mattr
=+sve2
,+sve-b16b16
< %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
=+sve2
,+sve-b16b16
< %s \
6 // RUN
: | llvm-objdump
-d
--no-print-imm-hex
--mattr
=+sve2
,+sve-b16b16
- | FileCheck
%s
--check-prefix
=CHECK-INST
7 // RUN
: llvm-mc
-triple
=aarch64
-filetype
=obj
-mattr
=+sve2
,+sve-b16b16
< %s \
8 // RUN
: | llvm-objdump
-d
--mattr
=-sve-b16b16
- | FileCheck
%s
--check-prefix
=CHECK-UNKNOWN
9 // RUN
: llvm-mc
-triple
=aarch64
-show-encoding
-mattr
=+sve2
,+sve-b16b16
< %s \
10 // RUN
: | sed
'/.text/d' | sed
's/.*encoding: //g' \
11 // RUN
: | llvm-mc
-triple
=aarch64
-mattr
=+sve2
,+sve-b16b16
-disassemble
-show-encoding \
12 // RUN
: | FileCheck
%s
--check-prefixes
=CHECK-ENCODING
,CHECK-INST
14 // RUN
: llvm-mc
-triple
=aarch64
-show-encoding
-mattr
=+sme2
,+sve-b16b16
< %s \
15 // RUN
: | FileCheck
%s
--check-prefixes
=CHECK-ENCODING
,CHECK-INST
16 // RUN
: llvm-mc
-triple
=aarch64
-filetype
=obj
-mattr
=+sme2
,+sve-b16b16
< %s \
17 // RUN
: | llvm-objdump
-d
--no-print-imm-hex
--mattr
=+sme2
,+sve-b16b16
- | FileCheck
%s
--check-prefix
=CHECK-INST
18 // RUN
: llvm-mc
-triple
=aarch64
-filetype
=obj
-mattr
=+sme2
,+sve-b16b16
< %s \
19 // RUN
: | llvm-objdump
-d
--mattr
=-sve-b16b16
- | FileCheck
%s
--check-prefix
=CHECK-UNKNOWN
20 // RUN
: llvm-mc
-triple
=aarch64
-show-encoding
-mattr
=+sme2
,+sve-b16b16
< %s \
21 // RUN
: | sed
'/.text/d' | sed
's/.*encoding: //g' \
22 // RUN
: | llvm-mc
-triple
=aarch64
-mattr
=+sme2
,+sve-b16b16
-disassemble
-show-encoding \
23 // RUN
: | FileCheck
%s
--check-prefixes
=CHECK-ENCODING
,CHECK-INST
25 movprfx z23.h
, p3
/m
, z31.h
26 bfadd z23.h
, p3
/m
, z23.h
, z13.h
// 01100101-00000000-10001101-10110111
27 // CHECK-INST
: movprfx z23.h
, p3
/m
, z31.h
28 // CHECK-INST
: bfadd z23.h
, p3
/m
, z23.h
, z13.h
29 // CHECK-ENCODING
: [0xb7,0x8d,0x00,0x65]
30 // CHECK-ERROR
: instruction requires
: sve-b16b16
31 // CHECK-UNKNOWN
: 65008db7
<unknown
>
34 bfadd z23.h
, p3
/m
, z23.h
, z13.h
// 01100101-00000000-10001101-10110111
35 // CHECK-INST
: movprfx z23
, z31
36 // CHECK-INST
: bfadd z23.h
, p3
/m
, z23.h
, z13.h
37 // CHECK-ENCODING
: [0xb7,0x8d,0x00,0x65]
38 // CHECK-ERROR
: instruction requires
: sve-b16b16
39 // CHECK-UNKNOWN
: 65008db7
<unknown
>
41 bfadd z0.h
, p0
/m
, z0.h
, z0.h
// 01100101-00000000-10000000-00000000
42 // CHECK-INST
: bfadd z0.h
, p0
/m
, z0.h
, z0.h
43 // CHECK-ENCODING
: [0x00,0x80,0x00,0x65]
44 // CHECK-ERROR
: instruction requires
: sve-b16b16
45 // CHECK-UNKNOWN
: 65008000 <unknown
>
47 bfadd z21.h
, p5
/m
, z21.h
, z10.h
// 01100101-00000000-10010101-01010101
48 // CHECK-INST
: bfadd z21.h
, p5
/m
, z21.h
, z10.h
49 // CHECK-ENCODING
: [0x55,0x95,0x00,0x65]
50 // CHECK-ERROR
: instruction requires
: sve-b16b16
51 // CHECK-UNKNOWN
: 65009555 <unknown
>
53 bfadd z23.h
, p3
/m
, z23.h
, z13.h
// 01100101-00000000-10001101-10110111
54 // CHECK-INST
: bfadd z23.h
, p3
/m
, z23.h
, z13.h
55 // CHECK-ENCODING
: [0xb7,0x8d,0x00,0x65]
56 // CHECK-ERROR
: instruction requires
: sve-b16b16
57 // CHECK-UNKNOWN
: 65008db7
<unknown
>
59 bfadd z31.h
, p7
/m
, z31.h
, z31.h
// 01100101-00000000-10011111-11111111
60 // CHECK-INST
: bfadd z31.h
, p7
/m
, z31.h
, z31.h
61 // CHECK-ENCODING
: [0xff,0x9f,0x00,0x65]
62 // CHECK-ERROR
: instruction requires
: sve-b16b16
63 // CHECK-UNKNOWN
: 65009fff
<unknown
>
65 bfadd z0.h
, z0.h
, z0.h
// 01100101-00000000-00000000-00000000
66 // CHECK-INST
: bfadd z0.h
, z0.h
, z0.h
67 // CHECK-ENCODING
: [0x00,0x00,0x00,0x65]
68 // CHECK-ERROR
: instruction requires
: sve-b16b16
69 // CHECK-UNKNOWN
: 65000000 <unknown
>
71 bfadd z21.h
, z10.h
, z21.h
// 01100101-00010101-00000001-01010101
72 // CHECK-INST
: bfadd z21.h
, z10.h
, z21.h
73 // CHECK-ENCODING
: [0x55,0x01,0x15,0x65]
74 // CHECK-ERROR
: instruction requires
: sve-b16b16
75 // CHECK-UNKNOWN
: 65150155 <unknown
>
77 bfadd z23.h
, z13.h
, z8.h
// 01100101-00001000-00000001-10110111
78 // CHECK-INST
: bfadd z23.h
, z13.h
, z8.h
79 // CHECK-ENCODING
: [0xb7,0x01,0x08,0x65]
80 // CHECK-ERROR
: instruction requires
: sve-b16b16
81 // CHECK-UNKNOWN
: 650801b7
<unknown
>
83 bfadd z31.h
, z31.h
, z31.h
// 01100101-00011111-00000011-11111111
84 // CHECK-INST
: bfadd z31.h
, z31.h
, z31.h
85 // CHECK-ENCODING
: [0xff,0x03,0x1f,0x65]
86 // CHECK-ERROR
: instruction requires
: sve-b16b16
87 // CHECK-UNKNOWN
: 651f03ff
<unknown
>