1 // RUN
: llvm-mc
-triple
=aarch64
-show-encoding
-mattr
=+sme2p1
< %s \
2 // RUN
: | FileCheck
%s
--check-prefixes
=CHECK-ENCODING
,CHECK-INST
3 // RUN
: llvm-mc
-triple
=aarch64
-show-encoding
-mattr
=+sve2p1
< %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
=+sme2p1
< %s \
8 // RUN
: | llvm-objdump
-d
--no-print-imm-hex
--mattr
=+sme2p1
- | FileCheck
%s
--check-prefix
=CHECK-INST
9 // RUN
: llvm-mc
-triple
=aarch64
-filetype
=obj
-mattr
=+sme2p1
< %s \
10 // RUN
: | llvm-objdump
-d
--mattr
=-sme2p1
,-sve2p1
- | FileCheck
%s
--check-prefix
=CHECK-UNKNOWN
11 // RUN
: llvm-mc
-triple
=aarch64
-show-encoding
-mattr
=+sme2p1
< %s \
12 // RUN
: | sed
'/.text/d' | sed
's/.*encoding: //g' \
13 // RUN
: | llvm-mc
-triple
=aarch64
-mattr
=+sme2p1
-disassemble
-show-encoding \
14 // RUN
: | FileCheck
%s
--check-prefixes
=CHECK-ENCODING
,CHECK-INST
17 faddqv v0.2d
, p0
, z0.d
// 01100100-11010000-10100000-00000000
18 // CHECK-INST
: faddqv v0.2d
, p0
, z0.d
19 // CHECK-ENCODING
: [0x00,0xa0,0xd0,0x64]
20 // CHECK-ERROR
: instruction requires
: sme2p1
or sve2p1
21 // CHECK-UNKNOWN
: 64d0a000
<unknown
>
23 faddqv v21.2d
, p5
, z10.d
// 01100100-11010000-10110101-01010101
24 // CHECK-INST
: faddqv v21.2d
, p5
, z10.d
25 // CHECK-ENCODING
: [0x55,0xb5,0xd0,0x64]
26 // CHECK-ERROR
: instruction requires
: sme2p1
or sve2p1
27 // CHECK-UNKNOWN
: 64d0b555
<unknown
>
29 faddqv v23.2d
, p3
, z13.d
// 01100100-11010000-10101101-10110111
30 // CHECK-INST
: faddqv v23.2d
, p3
, z13.d
31 // CHECK-ENCODING
: [0xb7,0xad,0xd0,0x64]
32 // CHECK-ERROR
: instruction requires
: sme2p1
or sve2p1
33 // CHECK-UNKNOWN
: 64d0adb7
<unknown
>
35 faddqv v31.2d
, p7
, z31.d
// 01100100-11010000-10111111-11111111
36 // CHECK-INST
: faddqv v31.2d
, p7
, z31.d
37 // CHECK-ENCODING
: [0xff,0xbf,0xd0,0x64]
38 // CHECK-ERROR
: instruction requires
: sme2p1
or sve2p1
39 // CHECK-UNKNOWN
: 64d0bfff
<unknown
>
42 faddqv v0.8h
, p0
, z0.h
// 01100100-01010000-10100000-00000000
43 // CHECK-INST
: faddqv v0.8h
, p0
, z0.h
44 // CHECK-ENCODING
: [0x00,0xa0,0x50,0x64]
45 // CHECK-ERROR
: instruction requires
: sme2p1
or sve2p1
46 // CHECK-UNKNOWN
: 6450a000
<unknown
>
48 faddqv v21.8h
, p5
, z10.h
// 01100100-01010000-10110101-01010101
49 // CHECK-INST
: faddqv v21.8h
, p5
, z10.h
50 // CHECK-ENCODING
: [0x55,0xb5,0x50,0x64]
51 // CHECK-ERROR
: instruction requires
: sme2p1
or sve2p1
52 // CHECK-UNKNOWN
: 6450b555
<unknown
>
54 faddqv v23.8h
, p3
, z13.h
// 01100100-01010000-10101101-10110111
55 // CHECK-INST
: faddqv v23.8h
, p3
, z13.h
56 // CHECK-ENCODING
: [0xb7,0xad,0x50,0x64]
57 // CHECK-ERROR
: instruction requires
: sme2p1
or sve2p1
58 // CHECK-UNKNOWN
: 6450adb7
<unknown
>
60 faddqv v31.8h
, p7
, z31.h
// 01100100-01010000-10111111-11111111
61 // CHECK-INST
: faddqv v31.8h
, p7
, z31.h
62 // CHECK-ENCODING
: [0xff,0xbf,0x50,0x64]
63 // CHECK-ERROR
: instruction requires
: sme2p1
or sve2p1
64 // CHECK-UNKNOWN
: 6450bfff
<unknown
>
67 faddqv v0.4s
, p0
, z0.s
// 01100100-10010000-10100000-00000000
68 // CHECK-INST
: faddqv v0.4s
, p0
, z0.s
69 // CHECK-ENCODING
: [0x00,0xa0,0x90,0x64]
70 // CHECK-ERROR
: instruction requires
: sme2p1
or sve2p1
71 // CHECK-UNKNOWN
: 6490a000
<unknown
>
73 faddqv v21.4s
, p5
, z10.s
// 01100100-10010000-10110101-01010101
74 // CHECK-INST
: faddqv v21.4s
, p5
, z10.s
75 // CHECK-ENCODING
: [0x55,0xb5,0x90,0x64]
76 // CHECK-ERROR
: instruction requires
: sme2p1
or sve2p1
77 // CHECK-UNKNOWN
: 6490b555
<unknown
>
79 faddqv v23.4s
, p3
, z13.s
// 01100100-10010000-10101101-10110111
80 // CHECK-INST
: faddqv v23.4s
, p3
, z13.s
81 // CHECK-ENCODING
: [0xb7,0xad,0x90,0x64]
82 // CHECK-ERROR
: instruction requires
: sme2p1
or sve2p1
83 // CHECK-UNKNOWN
: 6490adb7
<unknown
>
85 faddqv v31.4s
, p7
, z31.s
// 01100100-10010000-10111111-11111111
86 // CHECK-INST
: faddqv v31.4s
, p7
, z31.s
87 // CHECK-ENCODING
: [0xff,0xbf,0x90,0x64]
88 // CHECK-ERROR
: instruction requires
: sme2p1
or sve2p1
89 // CHECK-UNKNOWN
: 6490bfff
<unknown
>