1 // RUN
: llvm-mc
-triple
=aarch64
-show-encoding
-mattr
=+sme2
< %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
=+sme2
< %s \
6 // RUN
: | llvm-objdump
-d
--mattr
=+sme2
- | FileCheck
%s
--check-prefix
=CHECK-INST
7 // RUN
: llvm-mc
-triple
=aarch64
-filetype
=obj
-mattr
=+sme2
< %s \
8 // RUN
: | llvm-objdump
-d
--mattr
=-sme2
- | FileCheck
%s
--check-prefix
=CHECK-UNKNOWN
9 // RUN
: llvm-mc
-triple
=aarch64
-show-encoding
-mattr
=+sme2
< %s \
10 // RUN
: | sed
'/.text/d' | sed
's/.*encoding: //g' \
11 // RUN
: | llvm-mc
-triple
=aarch64
-mattr
=+sme2
-disassemble
-show-encoding \
12 // RUN
: | FileCheck
%s
--check-prefixes
=CHECK-ENCODING
,CHECK-INST
15 fvdot za.s
[w8
, 0, vgx2
], {z0.h
, z1.h
}, z0.h
[0] // 11000001-01010000-00000000-00001000
16 // CHECK-INST
: fvdot za.s
[w8
, 0, vgx2
], { z0.h
, z1.h
}, z0.h
[0]
17 // CHECK-ENCODING
: [0x08,0x00,0x50,0xc1]
18 // CHECK-ERROR
: instruction requires
: sme2
19 // CHECK-UNKNOWN
: c1500008
<unknown
>
21 fvdot za.s
[w8
, 0], {z0.h
, z1.h
}, z0.h
[0] // 11000001-01010000-00000000-00001000
22 // CHECK-INST
: fvdot za.s
[w8
, 0, vgx2
], { z0.h
, z1.h
}, z0.h
[0]
23 // CHECK-ENCODING
: [0x08,0x00,0x50,0xc1]
24 // CHECK-ERROR
: instruction requires
: sme2
25 // CHECK-UNKNOWN
: c1500008
<unknown
>
27 fvdot za.s
[w10
, 5, vgx2
], {z10.h
, z11.h
}, z5.h
[1] // 11000001-01010101-01000101-01001101
28 // CHECK-INST
: fvdot za.s
[w10
, 5, vgx2
], { z10.h
, z11.h
}, z5.h
[1]
29 // CHECK-ENCODING
: [0x4d,0x45,0x55,0xc1]
30 // CHECK-ERROR
: instruction requires
: sme2
31 // CHECK-UNKNOWN
: c155454d
<unknown
>
33 fvdot za.s
[w10
, 5], {z10.h
, z11.h
}, z5.h
[1] // 11000001-01010101-01000101-01001101
34 // CHECK-INST
: fvdot za.s
[w10
, 5, vgx2
], { z10.h
, z11.h
}, z5.h
[1]
35 // CHECK-ENCODING
: [0x4d,0x45,0x55,0xc1]
36 // CHECK-ERROR
: instruction requires
: sme2
37 // CHECK-UNKNOWN
: c155454d
<unknown
>
39 fvdot za.s
[w11
, 7, vgx2
], {z12.h
, z13.h
}, z8.h
[3] // 11000001-01011000-01101101-10001111
40 // CHECK-INST
: fvdot za.s
[w11
, 7, vgx2
], { z12.h
, z13.h
}, z8.h
[3]
41 // CHECK-ENCODING
: [0x8f,0x6d,0x58,0xc1]
42 // CHECK-ERROR
: instruction requires
: sme2
43 // CHECK-UNKNOWN
: c1586d8f
<unknown
>
45 fvdot za.s
[w11
, 7], {z12.h
, z13.h
}, z8.h
[3] // 11000001-01011000-01101101-10001111
46 // CHECK-INST
: fvdot za.s
[w11
, 7, vgx2
], { z12.h
, z13.h
}, z8.h
[3]
47 // CHECK-ENCODING
: [0x8f,0x6d,0x58,0xc1]
48 // CHECK-ERROR
: instruction requires
: sme2
49 // CHECK-UNKNOWN
: c1586d8f
<unknown
>
51 fvdot za.s
[w11
, 7, vgx2
], {z30.h
, z31.h
}, z15.h
[3] // 11000001-01011111-01101111-11001111
52 // CHECK-INST
: fvdot za.s
[w11
, 7, vgx2
], { z30.h
, z31.h
}, z15.h
[3]
53 // CHECK-ENCODING
: [0xcf,0x6f,0x5f,0xc1]
54 // CHECK-ERROR
: instruction requires
: sme2
55 // CHECK-UNKNOWN
: c15f6fcf
<unknown
>
57 fvdot za.s
[w11
, 7], {z30.h
, z31.h
}, z15.h
[3] // 11000001-01011111-01101111-11001111
58 // CHECK-INST
: fvdot za.s
[w11
, 7, vgx2
], { z30.h
, z31.h
}, z15.h
[3]
59 // CHECK-ENCODING
: [0xcf,0x6f,0x5f,0xc1]
60 // CHECK-ERROR
: instruction requires
: sme2
61 // CHECK-UNKNOWN
: c15f6fcf
<unknown
>
63 fvdot za.s
[w8
, 5, vgx2
], {z16.h
, z17.h
}, z0.h
[3] // 11000001-01010000-00001110-00001101
64 // CHECK-INST
: fvdot za.s
[w8
, 5, vgx2
], { z16.h
, z17.h
}, z0.h
[3]
65 // CHECK-ENCODING
: [0x0d,0x0e,0x50,0xc1]
66 // CHECK-ERROR
: instruction requires
: sme2
67 // CHECK-UNKNOWN
: c1500e0d
<unknown
>
69 fvdot za.s
[w8
, 5], {z16.h
, z17.h
}, z0.h
[3] // 11000001-01010000-00001110-00001101
70 // CHECK-INST
: fvdot za.s
[w8
, 5, vgx2
], { z16.h
, z17.h
}, z0.h
[3]
71 // CHECK-ENCODING
: [0x0d,0x0e,0x50,0xc1]
72 // CHECK-ERROR
: instruction requires
: sme2
73 // CHECK-UNKNOWN
: c1500e0d
<unknown
>
75 fvdot za.s
[w8
, 1, vgx2
], {z0.h
, z1.h
}, z14.h
[1] // 11000001-01011110-00000100-00001001
76 // CHECK-INST
: fvdot za.s
[w8
, 1, vgx2
], { z0.h
, z1.h
}, z14.h
[1]
77 // CHECK-ENCODING
: [0x09,0x04,0x5e,0xc1]
78 // CHECK-ERROR
: instruction requires
: sme2
79 // CHECK-UNKNOWN
: c15e0409
<unknown
>
81 fvdot za.s
[w8
, 1], {z0.h
, z1.h
}, z14.h
[1] // 11000001-01011110-00000100-00001001
82 // CHECK-INST
: fvdot za.s
[w8
, 1, vgx2
], { z0.h
, z1.h
}, z14.h
[1]
83 // CHECK-ENCODING
: [0x09,0x04,0x5e,0xc1]
84 // CHECK-ERROR
: instruction requires
: sme2
85 // CHECK-UNKNOWN
: c15e0409
<unknown
>
87 fvdot za.s
[w10
, 0, vgx2
], {z18.h
, z19.h
}, z4.h
[1] // 11000001-01010100-01000110-01001000
88 // CHECK-INST
: fvdot za.s
[w10
, 0, vgx2
], { z18.h
, z19.h
}, z4.h
[1]
89 // CHECK-ENCODING
: [0x48,0x46,0x54,0xc1]
90 // CHECK-ERROR
: instruction requires
: sme2
91 // CHECK-UNKNOWN
: c1544648
<unknown
>
93 fvdot za.s
[w10
, 0], {z18.h
, z19.h
}, z4.h
[1] // 11000001-01010100-01000110-01001000
94 // CHECK-INST
: fvdot za.s
[w10
, 0, vgx2
], { z18.h
, z19.h
}, z4.h
[1]
95 // CHECK-ENCODING
: [0x48,0x46,0x54,0xc1]
96 // CHECK-ERROR
: instruction requires
: sme2
97 // CHECK-UNKNOWN
: c1544648
<unknown
>
99 fvdot za.s
[w8
, 0, vgx2
], {z12.h
, z13.h
}, z2.h
[2] // 11000001-01010010-00001001-10001000
100 // CHECK-INST
: fvdot za.s
[w8
, 0, vgx2
], { z12.h
, z13.h
}, z2.h
[2]
101 // CHECK-ENCODING
: [0x88,0x09,0x52,0xc1]
102 // CHECK-ERROR
: instruction requires
: sme2
103 // CHECK-UNKNOWN
: c1520988
<unknown
>
105 fvdot za.s
[w8
, 0], {z12.h
, z13.h
}, z2.h
[2] // 11000001-01010010-00001001-10001000
106 // CHECK-INST
: fvdot za.s
[w8
, 0, vgx2
], { z12.h
, z13.h
}, z2.h
[2]
107 // CHECK-ENCODING
: [0x88,0x09,0x52,0xc1]
108 // CHECK-ERROR
: instruction requires
: sme2
109 // CHECK-UNKNOWN
: c1520988
<unknown
>
111 fvdot za.s
[w10
, 1, vgx2
], {z0.h
, z1.h
}, z10.h
[2] // 11000001-01011010-01001000-00001001
112 // CHECK-INST
: fvdot za.s
[w10
, 1, vgx2
], { z0.h
, z1.h
}, z10.h
[2]
113 // CHECK-ENCODING
: [0x09,0x48,0x5a,0xc1]
114 // CHECK-ERROR
: instruction requires
: sme2
115 // CHECK-UNKNOWN
: c15a4809
<unknown
>
117 fvdot za.s
[w10
, 1], {z0.h
, z1.h
}, z10.h
[2] // 11000001-01011010-01001000-00001001
118 // CHECK-INST
: fvdot za.s
[w10
, 1, vgx2
], { z0.h
, z1.h
}, z10.h
[2]
119 // CHECK-ENCODING
: [0x09,0x48,0x5a,0xc1]
120 // CHECK-ERROR
: instruction requires
: sme2
121 // CHECK-UNKNOWN
: c15a4809
<unknown
>
123 fvdot za.s
[w8
, 5, vgx2
], {z22.h
, z23.h
}, z14.h
[2] // 11000001-01011110-00001010-11001101
124 // CHECK-INST
: fvdot za.s
[w8
, 5, vgx2
], { z22.h
, z23.h
}, z14.h
[2]
125 // CHECK-ENCODING
: [0xcd,0x0a,0x5e,0xc1]
126 // CHECK-ERROR
: instruction requires
: sme2
127 // CHECK-UNKNOWN
: c15e0acd
<unknown
>
129 fvdot za.s
[w8
, 5], {z22.h
, z23.h
}, z14.h
[2] // 11000001-01011110-00001010-11001101
130 // CHECK-INST
: fvdot za.s
[w8
, 5, vgx2
], { z22.h
, z23.h
}, z14.h
[2]
131 // CHECK-ENCODING
: [0xcd,0x0a,0x5e,0xc1]
132 // CHECK-ERROR
: instruction requires
: sme2
133 // CHECK-UNKNOWN
: c15e0acd
<unknown
>
135 fvdot za.s
[w11
, 2, vgx2
], {z8.h
, z9.h
}, z1.h
[1] // 11000001-01010001-01100101-00001010
136 // CHECK-INST
: fvdot za.s
[w11
, 2, vgx2
], { z8.h
, z9.h
}, z1.h
[1]
137 // CHECK-ENCODING
: [0x0a,0x65,0x51,0xc1]
138 // CHECK-ERROR
: instruction requires
: sme2
139 // CHECK-UNKNOWN
: c151650a
<unknown
>
141 fvdot za.s
[w11
, 2], {z8.h
, z9.h
}, z1.h
[1] // 11000001-01010001-01100101-00001010
142 // CHECK-INST
: fvdot za.s
[w11
, 2, vgx2
], { z8.h
, z9.h
}, z1.h
[1]
143 // CHECK-ENCODING
: [0x0a,0x65,0x51,0xc1]
144 // CHECK-ERROR
: instruction requires
: sme2
145 // CHECK-UNKNOWN
: c151650a
<unknown
>
147 fvdot za.s
[w9
, 7, vgx2
], {z12.h
, z13.h
}, z11.h
[2] // 11000001-01011011-00101001-10001111
148 // CHECK-INST
: fvdot za.s
[w9
, 7, vgx2
], { z12.h
, z13.h
}, z11.h
[2]
149 // CHECK-ENCODING
: [0x8f,0x29,0x5b,0xc1]
150 // CHECK-ERROR
: instruction requires
: sme2
151 // CHECK-UNKNOWN
: c15b298f
<unknown
>
153 fvdot za.s
[w9
, 7], {z12.h
, z13.h
}, z11.h
[2] // 11000001-01011011-00101001-10001111
154 // CHECK-INST
: fvdot za.s
[w9
, 7, vgx2
], { z12.h
, z13.h
}, z11.h
[2]
155 // CHECK-ENCODING
: [0x8f,0x29,0x5b,0xc1]
156 // CHECK-ERROR
: instruction requires
: sme2
157 // CHECK-UNKNOWN
: c15b298f
<unknown
>