1 // RUN
: llvm-mc
-triple
=aarch64
-show-encoding
-mattr
=+sme2
,+sve-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
=+sme2
,+sve-b16b16
< %s \
6 // RUN
: | llvm-objdump
-d
--mattr
=+sme2
,+sve-b16b16
- | FileCheck
%s
--check-prefix
=CHECK-INST
7 // RUN
: llvm-mc
-triple
=aarch64
-filetype
=obj
-mattr
=+sme2
,+sve-b16b16
< %s \
8 // RUN
: | llvm-objdump
-d
--mattr
=-sme2
- | FileCheck
%s
--check-prefix
=CHECK-UNKNOWN
9 // RUN
: llvm-mc
-triple
=aarch64
-show-encoding
-mattr
=+sme2
,+sve-b16b16
< %s \
10 // RUN
: | sed
'/.text/d' | sed
's/.*encoding: //g' \
11 // RUN
: | llvm-mc
-triple
=aarch64
-mattr
=+sme2
,+sve-b16b16
-disassemble
-show-encoding \
12 // RUN
: | FileCheck
%s
--check-prefixes
=CHECK-ENCODING
,CHECK-INST
14 bfclamp
{z0.h
, z1.h
}, z0.h
, z0.h
// 11000001-00100000-11000000-00000000
15 // CHECK-INST
: bfclamp
{ z0.h
, z1.h
}, z0.h
, z0.h
16 // CHECK-ENCODING
: [0x00,0xc0,0x20,0xc1]
17 // CHECK-ERROR
: instruction requires
: sme2 sve-b16b16
18 // CHECK-UNKNOWN
: c120c000
<unknown
>
20 bfclamp
{z20.h
, z21.h
}, z10.h
, z21.h
// 11000001-00110101-11000001-01010100
21 // CHECK-INST
: bfclamp
{ z20.h
, z21.h
}, z10.h
, z21.h
22 // CHECK-ENCODING
: [0x54,0xc1,0x35,0xc1]
23 // CHECK-ERROR
: instruction requires
: sme2 sve-b16b16
24 // CHECK-UNKNOWN
: c135c154
<unknown
>
26 bfclamp
{z22.h
, z23.h
}, z13.h
, z8.h
// 11000001-00101000-11000001-10110110
27 // CHECK-INST
: bfclamp
{ z22.h
, z23.h
}, z13.h
, z8.h
28 // CHECK-ENCODING
: [0xb6,0xc1,0x28,0xc1]
29 // CHECK-ERROR
: instruction requires
: sme2 sve-b16b16
30 // CHECK-UNKNOWN
: c128c1b6
<unknown
>
32 bfclamp
{z30.h
, z31.h
}, z31.h
, z31.h
// 11000001-00111111-11000011-11111110
33 // CHECK-INST
: bfclamp
{ z30.h
, z31.h
}, z31.h
, z31.h
34 // CHECK-ENCODING
: [0xfe,0xc3,0x3f,0xc1]
35 // CHECK-ERROR
: instruction requires
: sme2 sve-b16b16
36 // CHECK-UNKNOWN
: c13fc3fe
<unknown
>
38 bfclamp
{z0.h
- z3.h
}, z0.h
, z0.h
// 11000001-00100000-11001000-00000000
39 // CHECK-INST
: bfclamp
{ z0.h
- z3.h
}, z0.h
, z0.h
40 // CHECK-ENCODING
: [0x00,0xc8,0x20,0xc1]
41 // CHECK-ERROR
: instruction requires
: sme2 sve-b16b16
42 // CHECK-UNKNOWN
: c120c800
<unknown
>
44 bfclamp
{z20.h
- z23.h
}, z10.h
, z21.h
// 11000001-00110101-11001001-01010100
45 // CHECK-INST
: bfclamp
{ z20.h
- z23.h
}, z10.h
, z21.h
46 // CHECK-ENCODING
: [0x54,0xc9,0x35,0xc1]
47 // CHECK-ERROR
: instruction requires
: sme2 sve-b16b16
48 // CHECK-UNKNOWN
: c135c954
<unknown
>
50 bfclamp
{z20.h
- z23.h
}, z13.h
, z8.h
// 11000001-00101000-11001001-10110100
51 // CHECK-INST
: bfclamp
{ z20.h
- z23.h
}, z13.h
, z8.h
52 // CHECK-ENCODING
: [0xb4,0xc9,0x28,0xc1]
53 // CHECK-ERROR
: instruction requires
: sme2 sve-b16b16
54 // CHECK-UNKNOWN
: c128c9b4
<unknown
>
56 bfclamp
{z28.h
- z31.h
}, z31.h
, z31.h
// 11000001-00111111-11001011-11111100
57 // CHECK-INST
: bfclamp
{ z28.h
- z31.h
}, z31.h
, z31.h
58 // CHECK-ENCODING
: [0xfc,0xcb,0x3f,0xc1]
59 // CHECK-ERROR
: instruction requires
: sme2 sve-b16b16
60 // CHECK-UNKNOWN
: c13fcbfc
<unknown
>