1 // RUN
: llvm-mc
-triple
=aarch64
-show-encoding
-mattr
=+sme2p2
,+sme-i16i64
< %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
=+sme2p2
,+sme-i16i64
< %s \
6 // RUN
: | llvm-objdump
-d
--mattr
=+sme2p2
,+sme-i16i64
- | FileCheck
%s
--check-prefix
=CHECK-INST
7 // RUN
: llvm-mc
-triple
=aarch64
-filetype
=obj
-mattr
=+sme2p2
,+sme-i16i64
< %s \
8 // RUN
: | llvm-objdump
-d
--mattr
=-sme2p2
- | 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
=+sme2p2
,+sme-i16i64
< %s \
11 // RUN
: | sed
'/.text/d' | sed
's/.*encoding: //g' \
12 // RUN
: | llvm-mc
-triple
=aarch64
-mattr
=+sme2p2
,+sme-i16i64
-disassemble
-show-encoding \
13 // RUN
: | FileCheck
%s
--check-prefixes
=CHECK-ENCODING
,CHECK-INST
15 usmop4s za0.d
, z0.h
, z16.h
// 10100001-11000000-00000000-00011000
16 // CHECK-INST
: usmop4s za0.d
, z0.h
, z16.h
17 // CHECK-ENCODING
: [0x18,0x00,0xc0,0xa1]
18 // CHECK-ERROR
: instruction requires
: sme2p2
19 // CHECK-UNKNOWN
: a1c00018
<unknown
>
21 usmop4s za5.d
, z10.h
, z20.h
// 10100001-11000100-00000001-01011101
22 // CHECK-INST
: usmop4s za5.d
, z10.h
, z20.h
23 // CHECK-ENCODING
: [0x5d,0x01,0xc4,0xa1]
24 // CHECK-ERROR
: instruction requires
: sme2p2
25 // CHECK-UNKNOWN
: a1c4015d
<unknown
>
27 usmop4s za7.d
, z14.h
, z30.h
// 10100001-11001110-00000001-11011111
28 // CHECK-INST
: usmop4s za7.d
, z14.h
, z30.h
29 // CHECK-ENCODING
: [0xdf,0x01,0xce,0xa1]
30 // CHECK-ERROR
: instruction requires
: sme2p2
31 // CHECK-UNKNOWN
: a1ce01df
<unknown
>
33 usmop4s za0.d
, z0.h
, {z16.h-z17.h
} // 10100001-11010000-00000000-00011000
34 // CHECK-INST
: usmop4s za0.d
, z0.h
, { z16.h
, z17.h
}
35 // CHECK-ENCODING
: [0x18,0x00,0xd0,0xa1]
36 // CHECK-ERROR
: instruction requires
: sme2p2
37 // CHECK-UNKNOWN
: a1d00018
<unknown
>
39 usmop4s za5.d
, z10.h
, {z20.h-z21.h
} // 10100001-11010100-00000001-01011101
40 // CHECK-INST
: usmop4s za5.d
, z10.h
, { z20.h
, z21.h
}
41 // CHECK-ENCODING
: [0x5d,0x01,0xd4,0xa1]
42 // CHECK-ERROR
: instruction requires
: sme2p2
43 // CHECK-UNKNOWN
: a1d4015d
<unknown
>
45 usmop4s za7.d
, z14.h
, {z30.h-z31.h
} // 10100001-11011110-00000001-11011111
46 // CHECK-INST
: usmop4s za7.d
, z14.h
, { z30.h
, z31.h
}
47 // CHECK-ENCODING
: [0xdf,0x01,0xde,0xa1]
48 // CHECK-ERROR
: instruction requires
: sme2p2
49 // CHECK-UNKNOWN
: a1de01df
<unknown
>
51 usmop4s za0.d
, {z0.h-z1.h
}, z16.h
// 10100001-11000000-00000010-00011000
52 // CHECK-INST
: usmop4s za0.d
, { z0.h
, z1.h
}, z16.h
53 // CHECK-ENCODING
: [0x18,0x02,0xc0,0xa1]
54 // CHECK-ERROR
: instruction requires
: sme2p2
55 // CHECK-UNKNOWN
: a1c00218
<unknown
>
57 usmop4s za5.d
, {z10.h-z11.h
}, z20.h
// 10100001-11000100-00000011-01011101
58 // CHECK-INST
: usmop4s za5.d
, { z10.h
, z11.h
}, z20.h
59 // CHECK-ENCODING
: [0x5d,0x03,0xc4,0xa1]
60 // CHECK-ERROR
: instruction requires
: sme2p2
61 // CHECK-UNKNOWN
: a1c4035d
<unknown
>
63 usmop4s za7.d
, {z14.h-z15.h
}, z30.h
// 10100001-11001110-00000011-11011111
64 // CHECK-INST
: usmop4s za7.d
, { z14.h
, z15.h
}, z30.h
65 // CHECK-ENCODING
: [0xdf,0x03,0xce,0xa1]
66 // CHECK-ERROR
: instruction requires
: sme2p2
67 // CHECK-UNKNOWN
: a1ce03df
<unknown
>
69 usmop4s za0.d
, {z0.h-z1.h
}, {z16.h-z17.h
} // 10100001-11010000-00000010-00011000
70 // CHECK-INST
: usmop4s za0.d
, { z0.h
, z1.h
}, { z16.h
, z17.h
}
71 // CHECK-ENCODING
: [0x18,0x02,0xd0,0xa1]
72 // CHECK-ERROR
: instruction requires
: sme2p2
73 // CHECK-UNKNOWN
: a1d00218
<unknown
>
75 usmop4s za5.d
, {z10.h-z11.h
}, {z20.h-z21.h
} // 10100001-11010100-00000011-01011101
76 // CHECK-INST
: usmop4s za5.d
, { z10.h
, z11.h
}, { z20.h
, z21.h
}
77 // CHECK-ENCODING
: [0x5d,0x03,0xd4,0xa1]
78 // CHECK-ERROR
: instruction requires
: sme2p2
79 // CHECK-UNKNOWN
: a1d4035d
<unknown
>
81 usmop4s za7.d
, {z14.h-z15.h
}, {z30.h-z31.h
} // 10100001-11011110-00000011-11011111
82 // CHECK-INST
: usmop4s za7.d
, { z14.h
, z15.h
}, { z30.h
, z31.h
}
83 // CHECK-ENCODING
: [0xdf,0x03,0xde,0xa1]
84 // CHECK-ERROR
: instruction requires
: sme2p2
85 // CHECK-UNKNOWN
: a1de03df
<unknown
>