1 // RUN
: llvm-mc
-triple
=aarch64
-show-encoding
-mattr
=+sve2
,+f8f32mm
< %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
,+f8f32mm
< %s \
6 // RUN
: | llvm-objdump
-d
--mattr
=+sve2
,+f8f32mm
- | FileCheck
%s
--check-prefix
=CHECK-INST
7 // RUN
: llvm-mc
-triple
=aarch64
-filetype
=obj
-mattr
=+sve2
,+f8f32mm
< %s \
8 // RUN
: | llvm-objdump
-d
--mattr
=-sve2
- | FileCheck
%s
--check-prefix
=CHECK-UNKNOWN
9 // Disassemble encoding
and check the re-encoding
(-show-encoding
) matches.
10 // RUN
: llvm-mc
-triple
=aarch64
-show-encoding
-mattr
=+sve2
,+f8f32mm
< %s \
11 // RUN
: | sed
'/.text/d' | sed
's/.*encoding: //g' \
12 // RUN
: | llvm-mc
-triple
=aarch64
-mattr
=+sve2
,+f8f32mm
-disassemble
-show-encoding \
13 // RUN
: | FileCheck
%s
--check-prefixes
=CHECK-ENCODING
,CHECK-INST
16 fmmla z23.s
, z13.
b, z8.
b // 01100100-00101000-11100001-10110111
17 // CHECK-INST
: movprfx z23
, z31
18 // CHECK-INST
: fmmla z23.s
, z13.
b, z8.
b
19 // CHECK-ENCODING
: [0xb7,0xe1,0x28,0x64]
20 // CHECK-ERROR
: instruction requires
: f8f32mm sve2
21 // CHECK-UNKNOWN
: 6428e1b7
<unknown
>
23 fmmla z0.s
, z0.
b, z0.
b // 01100100-00100000-11100000-00000000
24 // CHECK-INST
: fmmla z0.s
, z0.
b, z0.
b
25 // CHECK-ENCODING
: [0x00,0xe0,0x20,0x64]
26 // CHECK-ERROR
: instruction requires
: f8f32mm sve2
27 // CHECK-UNKNOWN
: 6420e000
<unknown
>
29 fmmla z21.s
, z10.
b, z21.
b // 01100100-00110101-11100001-01010101
30 // CHECK-INST
: fmmla z21.s
, z10.
b, z21.
b
31 // CHECK-ENCODING
: [0x55,0xe1,0x35,0x64]
32 // CHECK-ERROR
: instruction requires
: f8f32mm sve2
33 // CHECK-UNKNOWN
: 6435e155
<unknown
>
35 fmmla z31.s
, z31.
b, z31.
b // 01100100-00111111-11100011-11111111
36 // CHECK-INST
: fmmla z31.s
, z31.
b, z31.
b
37 // CHECK-ENCODING
: [0xff,0xe3,0x3f,0x64]
38 // CHECK-ERROR
: instruction requires
: f8f32mm sve2
39 // CHECK-UNKNOWN
: 643fe3ff
<unknown
>