1 // RUN
: llvm-mc
-triple
=aarch64
-show-encoding
-mattr
=+sve
< %s \
2 // RUN
: | FileCheck
%s
--check-prefixes
=CHECK-ENCODING
,CHECK-INST
3 // RUN
: llvm-mc
-triple
=aarch64
-show-encoding
-mattr
=+sme
< %s \
4 // RUN
: | FileCheck
%s
--check-prefixes
=CHECK-ENCODING
,CHECK-INST
5 // RUN
: not llvm-mc
-triple
=aarch64
-show-encoding
< %s
2>&1 \
6 // RUN
: | FileCheck
%s
--check-prefix
=CHECK-ERROR
7 // RUN
: llvm-mc
-triple
=aarch64
-filetype
=obj
-mattr
=+sve
< %s \
8 // RUN
: | llvm-objdump
-d
--mattr
=+sve
- | FileCheck
%s
--check-prefix
=CHECK-INST
9 // RUN
: llvm-mc
-triple
=aarch64
-filetype
=obj
-mattr
=+sve
< %s \
10 // RUN
: | llvm-objdump
-d
--mattr
=-sve
- | FileCheck
%s
--check-prefix
=CHECK-UNKNOWN
13 // CHECK-INST
: fcvt z0.h
, p0
/m
, z0.s
14 // CHECK-ENCODING
: [0x00,0xa0,0x88,0x65]
15 // CHECK-ERROR
: instruction requires
: sve
or sme
16 // CHECK-UNKNOWN
: 6588a000
<unknown
>
19 // CHECK-INST
: fcvt z0.h
, p0
/m
, z0.d
20 // CHECK-ENCODING
: [0x00,0xa0,0xc8,0x65]
21 // CHECK-ERROR
: instruction requires
: sve
or sme
22 // CHECK-UNKNOWN
: 65c8a000
<unknown
>
25 // CHECK-INST
: fcvt z0.s
, p0
/m
, z0.h
26 // CHECK-ENCODING
: [0x00,0xa0,0x89,0x65]
27 // CHECK-ERROR
: instruction requires
: sve
or sme
28 // CHECK-UNKNOWN
: 6589a000
<unknown
>
31 // CHECK-INST
: fcvt z0.s
, p0
/m
, z0.d
32 // CHECK-ENCODING
: [0x00,0xa0,0xca,0x65]
33 // CHECK-ERROR
: instruction requires
: sve
or sme
34 // CHECK-UNKNOWN
: 65caa000
<unknown
>
37 // CHECK-INST
: fcvt z0.d
, p0
/m
, z0.h
38 // CHECK-ENCODING
: [0x00,0xa0,0xc9,0x65]
39 // CHECK-ERROR
: instruction requires
: sve
or sme
40 // CHECK-UNKNOWN
: 65c9a000
<unknown
>
43 // CHECK-INST
: fcvt z0.d
, p0
/m
, z0.s
44 // CHECK-ENCODING
: [0x00,0xa0,0xcb,0x65]
45 // CHECK-ERROR
: instruction requires
: sve
or sme
46 // CHECK-UNKNOWN
: 65cba000
<unknown
>
49 // --------------------------------------------------------------------------//
50 // Test compatibility with MOVPRFX instruction.
52 movprfx z5.d
, p0
/z
, z7.d
53 // CHECK-INST
: movprfx z5.d
, p0
/z
, z7.d
54 // CHECK-ENCODING
: [0xe5,0x20,0xd0,0x04]
55 // CHECK-ERROR
: instruction requires
: sve
or sme
56 // CHECK-UNKNOWN
: 04d020e5
<unknown
>
59 // CHECK-INST
: fcvt z5.d
, p0
/m
, z0.s
60 // CHECK-ENCODING
: [0x05,0xa0,0xcb,0x65]
61 // CHECK-ERROR
: instruction requires
: sve
or sme
62 // CHECK-UNKNOWN
: 65cba005
<unknown
>
65 // CHECK-INST
: movprfx z5
, z7
66 // CHECK-ENCODING
: [0xe5,0xbc,0x20,0x04]
67 // CHECK-ERROR
: instruction requires
: sve
or sme
68 // CHECK-UNKNOWN
: 0420bce5
<unknown
>
71 // CHECK-INST
: fcvt z5.d
, p0
/m
, z0.s
72 // CHECK-ENCODING
: [0x05,0xa0,0xcb,0x65]
73 // CHECK-ERROR
: instruction requires
: sve
or sme
74 // CHECK-UNKNOWN
: 65cba005
<unknown
>