1 // RUN
: llvm-mc
-triple
=aarch64
-show-encoding
-mattr
=+sve2p1
,+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
=+sve2p1
,+b16b16
< %s \
6 // RUN
: | llvm-objdump
-d
--no-print-imm-hex
--mattr
=+sve2p1
,+b16b16
- | FileCheck
%s
--check-prefix
=CHECK-INST
7 // RUN
: llvm-mc
-triple
=aarch64
-filetype
=obj
-mattr
=+sve2p1
,+b16b16
< %s \
8 // RUN
: | llvm-objdump
-d
--mattr
=-b16b16
- | FileCheck
%s
--check-prefix
=CHECK-UNKNOWN
9 // RUN
: llvm-mc
-triple
=aarch64
-show-encoding
-mattr
=+sve2p1
,+b16b16
< %s \
10 // RUN
: | sed
'/.text/d' | sed
's/.*encoding: //g' \
11 // RUN
: | llvm-mc
-triple
=aarch64
-mattr
=+sve2p1
,+b16b16
-disassemble
-show-encoding \
12 // RUN
: | FileCheck
%s
--check-prefixes
=CHECK-ENCODING
,CHECK-INST
16 bfmla z23.h
, z13.h
, z0.h
[5] // 01100100-01101000-00001001-10110111
17 // CHECK-INST
: movprfx z23
, z31
18 // CHECK-INST
: bfmla z23.h
, z13.h
, z0.h
[5]
19 // CHECK-ENCODING
: [0xb7,0x09,0x68,0x64]
20 // CHECK-ERROR
: instruction requires
: b16b16 sme2p1
or sve2p1
21 // CHECK-UNKNOWN
: 646809b7
<unknown
>
23 bfmla z0.h
, z0.h
, z0.h
[0] // 01100100-00100000-00001000-00000000
24 // CHECK-INST
: bfmla z0.h
, z0.h
, z0.h
[0]
25 // CHECK-ENCODING
: [0x00,0x08,0x20,0x64]
26 // CHECK-ERROR
: instruction requires
: b16b16 sme2p1
or sve2p1
27 // CHECK-UNKNOWN
: 64200800 <unknown
>
29 bfmla z21.h
, z10.h
, z5.h
[6] // 01100100-01110101-00001001-01010101
30 // CHECK-INST
: bfmla z21.h
, z10.h
, z5.h
[6]
31 // CHECK-ENCODING
: [0x55,0x09,0x75,0x64]
32 // CHECK-ERROR
: instruction requires
: b16b16 sme2p1
or sve2p1
33 // CHECK-UNKNOWN
: 64750955 <unknown
>
35 bfmla z23.h
, z13.h
, z0.h
[5] // 01100100-01101000-00001001-10110111
36 // CHECK-INST
: bfmla z23.h
, z13.h
, z0.h
[5]
37 // CHECK-ENCODING
: [0xb7,0x09,0x68,0x64]
38 // CHECK-ERROR
: instruction requires
: b16b16 sme2p1
or sve2p1
39 // CHECK-UNKNOWN
: 646809b7
<unknown
>
41 bfmla z31.h
, z31.h
, z7.h
[7] // 01100100-01111111-00001011-11111111
42 // CHECK-INST
: bfmla z31.h
, z31.h
, z7.h
[7]
43 // CHECK-ENCODING
: [0xff,0x0b,0x7f,0x64]
44 // CHECK-ERROR
: instruction requires
: b16b16 sme2p1
or sve2p1
45 // CHECK-UNKNOWN
: 647f0bff
<unknown
>
48 movprfx z23.h
, p3
/m
, z31.h
49 bfmla z23.h
, p3
/m
, z13.h
, z8.h
// 01100101-00101000-00001101-10110111
50 // CHECK-INST
: movprfx z23.h
, p3
/m
, z31.h
51 // CHECK-INST
: bfmla z23.h
, p3
/m
, z13.h
, z8.h
52 // CHECK-ENCODING
: [0xb7,0x0d,0x28,0x65]
53 // CHECK-ERROR
: instruction requires
: b16b16 sme2p1
or sve2p1
54 // CHECK-UNKNOWN
: 65280db7
<unknown
>
57 bfmla z23.h
, p3
/m
, z13.h
, z8.h
// 01100101-00101000-00001101-10110111
58 // CHECK-INST
: movprfx z23
, z31
59 // CHECK-INST
: bfmla z23.h
, p3
/m
, z13.h
, z8.h
60 // CHECK-ENCODING
: [0xb7,0x0d,0x28,0x65]
61 // CHECK-ERROR
: instruction requires
: b16b16 sme2p1
or sve2p1
62 // CHECK-UNKNOWN
: 65280db7
<unknown
>
64 bfmla z0.h
, p0
/m
, z0.h
, z0.h
// 01100101-00100000-00000000-00000000
65 // CHECK-INST
: bfmla z0.h
, p0
/m
, z0.h
, z0.h
66 // CHECK-ENCODING
: [0x00,0x00,0x20,0x65]
67 // CHECK-ERROR
: instruction requires
: b16b16 sme2p1
or sve2p1
68 // CHECK-UNKNOWN
: 65200000 <unknown
>
70 bfmla z21.h
, p5
/m
, z10.h
, z21.h
// 01100101-00110101-00010101-01010101
71 // CHECK-INST
: bfmla z21.h
, p5
/m
, z10.h
, z21.h
72 // CHECK-ENCODING
: [0x55,0x15,0x35,0x65]
73 // CHECK-ERROR
: instruction requires
: b16b16 sme2p1
or sve2p1
74 // CHECK-UNKNOWN
: 65351555 <unknown
>
76 bfmla z23.h
, p3
/m
, z13.h
, z8.h
// 01100101-00101000-00001101-10110111
77 // CHECK-INST
: bfmla z23.h
, p3
/m
, z13.h
, z8.h
78 // CHECK-ENCODING
: [0xb7,0x0d,0x28,0x65]
79 // CHECK-ERROR
: instruction requires
: b16b16 sme2p1
or sve2p1
80 // CHECK-UNKNOWN
: 65280db7
<unknown
>
82 bfmla z31.h
, p7
/m
, z31.h
, z31.h
// 01100101-00111111-00011111-11111111
83 // CHECK-INST
: bfmla z31.h
, p7
/m
, z31.h
, z31.h
84 // CHECK-ENCODING
: [0xff,0x1f,0x3f,0x65]
85 // CHECK-ERROR
: instruction requires
: b16b16 sme2p1
or sve2p1
86 // CHECK-UNKNOWN
: 653f1fff
<unknown
>