1 // RUN
: llvm-mc
-triple
=aarch64
-show-encoding
-mattr
=+sve2p1
,+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
=+sve2p1
,+b16b16
< %s \
6 // RUN
: | llvm-objdump
-d
--no-print-imm-hex
--mattr
=+sve2p1
,+b16b16
- | FileCheck
%s
--check-prefix
=CHECK-INST
7 // RUN
: llvm-mc
-triple
=aarch64
-filetype
=obj
-mattr
=+sve2p1
,+b16b16
< %s \
8 // RUN
: | llvm-objdump
-d
--mattr
=-b16b16
- | FileCheck
%s
--check-prefix
=CHECK-UNKNOWN
9 // RUN
: llvm-mc
-triple
=aarch64
-show-encoding
-mattr
=+sve2p1
,+b16b16
< %s \
10 // RUN
: | sed
'/.text/d' | sed
's/.*encoding: //g' \
11 // RUN
: | llvm-mc
-triple
=aarch64
-mattr
=+sve2p1
,+b16b16
-disassemble
-show-encoding \
12 // RUN
: | FileCheck
%s
--check-prefixes
=CHECK-ENCODING
,CHECK-INST
15 movprfx z23.h
, p3
/m
, z31.h
16 bfmax z23.h
, p3
/m
, z23.h
, z13.h
// 01100101-00000110-10001101-10110111
17 // CHECK-INST
: movprfx z23.h
, p3
/m
, z31.h
18 // CHECK-INST
: bfmax z23.h
, p3
/m
, z23.h
, z13.h
19 // CHECK-ENCODING
: [0xb7,0x8d,0x06,0x65]
20 // CHECK-ERROR
: instruction requires
: b16b16 sme2p1
or sve2p1
21 // CHECK-UNKNOWN
: 65068db7
<unknown
>
24 bfmax z23.h
, p3
/m
, z23.h
, z13.h
// 01100101-00000110-10001101-10110111
25 // CHECK-INST
: movprfx z23
, z31
26 // CHECK-INST
: bfmax z23.h
, p3
/m
, z23.h
, z13.h
27 // CHECK-ENCODING
: [0xb7,0x8d,0x06,0x65]
28 // CHECK-ERROR
: instruction requires
: b16b16 sme2p1
or sve2p1
29 // CHECK-UNKNOWN
: 65068db7
<unknown
>
31 bfmax z0.h
, p0
/m
, z0.h
, z0.h
// 01100101-00000110-10000000-00000000
32 // CHECK-INST
: bfmax z0.h
, p0
/m
, z0.h
, z0.h
33 // CHECK-ENCODING
: [0x00,0x80,0x06,0x65]
34 // CHECK-ERROR
: instruction requires
: b16b16 sme2p1
or sve2p1
35 // CHECK-UNKNOWN
: 65068000 <unknown
>
37 bfmax z21.h
, p5
/m
, z21.h
, z10.h
// 01100101-00000110-10010101-01010101
38 // CHECK-INST
: bfmax z21.h
, p5
/m
, z21.h
, z10.h
39 // CHECK-ENCODING
: [0x55,0x95,0x06,0x65]
40 // CHECK-ERROR
: instruction requires
: b16b16 sme2p1
or sve2p1
41 // CHECK-UNKNOWN
: 65069555 <unknown
>
43 bfmax z23.h
, p3
/m
, z23.h
, z13.h
// 01100101-00000110-10001101-10110111
44 // CHECK-INST
: bfmax z23.h
, p3
/m
, z23.h
, z13.h
45 // CHECK-ENCODING
: [0xb7,0x8d,0x06,0x65]
46 // CHECK-ERROR
: instruction requires
: b16b16 sme2p1
or sve2p1
47 // CHECK-UNKNOWN
: 65068db7
<unknown
>
49 bfmax z31.h
, p7
/m
, z31.h
, z31.h
// 01100101-00000110-10011111-11111111
50 // CHECK-INST
: bfmax z31.h
, p7
/m
, z31.h
, z31.h
51 // CHECK-ENCODING
: [0xff,0x9f,0x06,0x65]
52 // CHECK-ERROR
: instruction requires
: b16b16 sme2p1
or sve2p1
53 // CHECK-UNKNOWN
: 65069fff
<unknown
>