xref: /minix3/external/bsd/llvm/dist/llvm/test/MC/Disassembler/AArch64/arm64-crypto.txt (revision 0a6a1f1d05b60e214de2f05a7310ddd1f0e590e7)
1*0a6a1f1dSLionel Sambuc# RUN: llvm-mc -triple arm64-apple-darwin -mattr=crypto --disassemble < %s | FileCheck %s
2*0a6a1f1dSLionel Sambuc# RUN: llvm-mc -triple arm64-apple-darwin -mattr=crypto -output-asm-variant=1 --disassemble < %s | FileCheck %s --check-prefix=CHECK-APPLE
3*0a6a1f1dSLionel Sambuc
4*0a6a1f1dSLionel Sambuc  0x20 0x48 0x28 0x4e
5*0a6a1f1dSLionel Sambuc  0x20 0x58 0x28 0x4e
6*0a6a1f1dSLionel Sambuc  0x20 0x68 0x28 0x4e
7*0a6a1f1dSLionel Sambuc  0x20 0x78 0x28 0x4e
8*0a6a1f1dSLionel Sambuc  0x20 0x00 0x02 0x5e
9*0a6a1f1dSLionel Sambuc  0x20 0x10 0x02 0x5e
10*0a6a1f1dSLionel Sambuc  0x20 0x20 0x02 0x5e
11*0a6a1f1dSLionel Sambuc  0x20 0x30 0x02 0x5e
12*0a6a1f1dSLionel Sambuc  0x20 0x40 0x02 0x5e
13*0a6a1f1dSLionel Sambuc  0x20 0x50 0x02 0x5e
14*0a6a1f1dSLionel Sambuc  0x20 0x60 0x02 0x5e
15*0a6a1f1dSLionel Sambuc  0x20 0x08 0x28 0x5e
16*0a6a1f1dSLionel Sambuc  0x20 0x18 0x28 0x5e
17*0a6a1f1dSLionel Sambuc  0x20 0x28 0x28 0x5e
18*0a6a1f1dSLionel Sambuc
19*0a6a1f1dSLionel Sambuc# CHECK: aese v0.16b, v1.16b
20*0a6a1f1dSLionel Sambuc# CHECK: aesd v0.16b, v1.16b
21*0a6a1f1dSLionel Sambuc# CHECK: aesmc v0.16b, v1.16b
22*0a6a1f1dSLionel Sambuc# CHECK: aesimc v0.16b, v1.16b
23*0a6a1f1dSLionel Sambuc# CHECK: sha1c q0, s1, v2.4s
24*0a6a1f1dSLionel Sambuc# CHECK: sha1p q0, s1, v2.4s
25*0a6a1f1dSLionel Sambuc# CHECK: sha1m q0, s1, v2.4s
26*0a6a1f1dSLionel Sambuc# CHECK: sha1su0 v0.4s, v1.4s, v2
27*0a6a1f1dSLionel Sambuc# CHECK: sha256h q0, q1, v2.4s
28*0a6a1f1dSLionel Sambuc# CHECK: sha256h2 q0, q1, v2.4s
29*0a6a1f1dSLionel Sambuc# CHECK: sha256su1 v0.4s, v1.4s, v2.4s
30*0a6a1f1dSLionel Sambuc# CHECK: sha1h s0, s1
31*0a6a1f1dSLionel Sambuc# CHECK: sha1su1 v0.4s, v1.4s
32*0a6a1f1dSLionel Sambuc# CHECK: sha256su0 v0.4s, v1.4s
33*0a6a1f1dSLionel Sambuc
34*0a6a1f1dSLionel Sambuc# CHECK-APPLE: aese.16b v0, v1
35*0a6a1f1dSLionel Sambuc# CHECK-APPLE: aesd.16b v0, v1
36*0a6a1f1dSLionel Sambuc# CHECK-APPLE: aesmc.16b v0, v1
37*0a6a1f1dSLionel Sambuc# CHECK-APPLE: aesimc.16b v0, v1
38*0a6a1f1dSLionel Sambuc# CHECK-APPLE: sha1c.4s q0, s1, v2
39*0a6a1f1dSLionel Sambuc# CHECK-APPLE: sha1p.4s q0, s1, v2
40*0a6a1f1dSLionel Sambuc# CHECK-APPLE: sha1m.4s q0, s1, v2
41*0a6a1f1dSLionel Sambuc# CHECK-APPLE: sha1su0.4s v0, v1, v2
42*0a6a1f1dSLionel Sambuc# CHECK-APPLE: sha256h.4s q0, q1, v2
43*0a6a1f1dSLionel Sambuc# CHECK-APPLE: sha256h2.4s q0, q1, v2
44*0a6a1f1dSLionel Sambuc# CHECK-APPLE: sha256su1.4s v0, v1, v2
45*0a6a1f1dSLionel Sambuc# CHECK-APPLE: sha1h s0, s1
46*0a6a1f1dSLionel Sambuc# CHECK-APPLE: sha1su1.4s v0, v1
47*0a6a1f1dSLionel Sambuc# CHECK-APPLE: sha256su0.4s v0, v1
48