xref: /aosp_15_r20/external/llvm/test/MC/Disassembler/ARM/thumb-neon-crypto.txt (revision 9880d6810fe72a1726cb53787c6711e909410d58)
1*9880d681SAndroid Build Coastguard Worker# RUN: llvm-mc -triple thumbv8-unknown-unknown -mattr=+neon,+crypto -disassemble < %s | FileCheck %s
2*9880d681SAndroid Build Coastguard Worker
3*9880d681SAndroid Build Coastguard Worker0xb0 0xff 0x42 0x03
4*9880d681SAndroid Build Coastguard Worker# CHECK: aesd.8  q0, q1
5*9880d681SAndroid Build Coastguard Worker0xb0 0xff 0x02 0x03
6*9880d681SAndroid Build Coastguard Worker# CHECK: aese.8 q0, q1
7*9880d681SAndroid Build Coastguard Worker0xb0 0xff 0xc2 0x03
8*9880d681SAndroid Build Coastguard Worker# CHECK: aesimc.8 q0, q1
9*9880d681SAndroid Build Coastguard Worker0xb0 0xff 0x82 0x03
10*9880d681SAndroid Build Coastguard Worker# CHECK: aesmc.8 q0, q1
11*9880d681SAndroid Build Coastguard Worker
12*9880d681SAndroid Build Coastguard Worker0xb9 0xff 0xc2 0x02
13*9880d681SAndroid Build Coastguard Worker# CHECK: sha1h.32  q0, q1
14*9880d681SAndroid Build Coastguard Worker0xba 0xff 0x82 0x03
15*9880d681SAndroid Build Coastguard Worker# CHECK: sha1su1.32 q0, q1
16*9880d681SAndroid Build Coastguard Worker0xba 0xff 0xc2 0x03
17*9880d681SAndroid Build Coastguard Worker# CHECK: sha256su0.32 q0, q1
18*9880d681SAndroid Build Coastguard Worker
19*9880d681SAndroid Build Coastguard Worker0x02 0xef 0x44 0x0c
20*9880d681SAndroid Build Coastguard Worker# CHECK: sha1c.32  q0, q1, q2
21*9880d681SAndroid Build Coastguard Worker0x22 0xef 0x44 0x0c
22*9880d681SAndroid Build Coastguard Worker# CHECK: sha1m.32  q0, q1, q2
23*9880d681SAndroid Build Coastguard Worker0x12 0xef 0x44 0x0c
24*9880d681SAndroid Build Coastguard Worker# CHECK: sha1p.32 q0, q1, q2
25*9880d681SAndroid Build Coastguard Worker0x32 0xef 0x44 0x0c
26*9880d681SAndroid Build Coastguard Worker# CHECK: sha1su0.32  q0, q1, q2
27*9880d681SAndroid Build Coastguard Worker0x02 0xff 0x44 0x0c
28*9880d681SAndroid Build Coastguard Worker# CHECK: sha256h.32  q0, q1, q2
29*9880d681SAndroid Build Coastguard Worker0x12 0xff 0x44 0x0c
30*9880d681SAndroid Build Coastguard Worker# CHECK: sha256h2.32 q0, q1, q2
31*9880d681SAndroid Build Coastguard Worker0x22 0xff 0x44 0x0c
32*9880d681SAndroid Build Coastguard Worker# CHECK: sha256su1.32 q0, q1, q2
33*9880d681SAndroid Build Coastguard Worker
34*9880d681SAndroid Build Coastguard Worker0xe0 0xef 0xa1 0x0e
35*9880d681SAndroid Build Coastguard Worker# CHECK: vmull.p64  q8, d16, d17
36*9880d681SAndroid Build Coastguard Worker
37*9880d681SAndroid Build Coastguard Worker# This used to be incorrectly decoded into an sha256h.32 [0x00,0xff,0x40,0x0c]
38*9880d681SAndroid Build Coastguard Worker# The other similar encodings are stc2 [0x00,0xfd,0x40,0x0c] and cdp2 [0x00,0xfe,0x40,0x0c]
39*9880d681SAndroid Build Coastguard Worker0x00 0xfc 0x40 0x0c
40*9880d681SAndroid Build Coastguard Worker# CHECK-NOT: sha256h.32
41*9880d681SAndroid Build Coastguard Worker# CHECK-NOT: stc2
42*9880d681SAndroid Build Coastguard Worker# CHECK-NOT: cdp2
43*9880d681SAndroid Build Coastguard Worker
44