48 lines
1.4 KiB
Plaintext
48 lines
1.4 KiB
Plaintext
# RUN: llvm-mc -triple arm64-apple-darwin -mattr=crypto --disassemble < %s | FileCheck %s
|
|
# RUN: llvm-mc -triple arm64-apple-darwin -mattr=crypto -output-asm-variant=1 --disassemble < %s | FileCheck %s --check-prefix=CHECK-APPLE
|
|
|
|
0x20 0x48 0x28 0x4e
|
|
0x20 0x58 0x28 0x4e
|
|
0x20 0x68 0x28 0x4e
|
|
0x20 0x78 0x28 0x4e
|
|
0x20 0x00 0x02 0x5e
|
|
0x20 0x10 0x02 0x5e
|
|
0x20 0x20 0x02 0x5e
|
|
0x20 0x30 0x02 0x5e
|
|
0x20 0x40 0x02 0x5e
|
|
0x20 0x50 0x02 0x5e
|
|
0x20 0x60 0x02 0x5e
|
|
0x20 0x08 0x28 0x5e
|
|
0x20 0x18 0x28 0x5e
|
|
0x20 0x28 0x28 0x5e
|
|
|
|
# CHECK: aese v0.16b, v1.16b
|
|
# CHECK: aesd v0.16b, v1.16b
|
|
# CHECK: aesmc v0.16b, v1.16b
|
|
# CHECK: aesimc v0.16b, v1.16b
|
|
# CHECK: sha1c q0, s1, v2.4s
|
|
# CHECK: sha1p q0, s1, v2.4s
|
|
# CHECK: sha1m q0, s1, v2.4s
|
|
# CHECK: sha1su0 v0.4s, v1.4s, v2
|
|
# CHECK: sha256h q0, q1, v2.4s
|
|
# CHECK: sha256h2 q0, q1, v2.4s
|
|
# CHECK: sha256su1 v0.4s, v1.4s, v2.4s
|
|
# CHECK: sha1h s0, s1
|
|
# CHECK: sha1su1 v0.4s, v1.4s
|
|
# CHECK: sha256su0 v0.4s, v1.4s
|
|
|
|
# CHECK-APPLE: aese.16b v0, v1
|
|
# CHECK-APPLE: aesd.16b v0, v1
|
|
# CHECK-APPLE: aesmc.16b v0, v1
|
|
# CHECK-APPLE: aesimc.16b v0, v1
|
|
# CHECK-APPLE: sha1c.4s q0, s1, v2
|
|
# CHECK-APPLE: sha1p.4s q0, s1, v2
|
|
# CHECK-APPLE: sha1m.4s q0, s1, v2
|
|
# CHECK-APPLE: sha1su0.4s v0, v1, v2
|
|
# CHECK-APPLE: sha256h.4s q0, q1, v2
|
|
# CHECK-APPLE: sha256h2.4s q0, q1, v2
|
|
# CHECK-APPLE: sha256su1.4s v0, v1, v2
|
|
# CHECK-APPLE: sha1h s0, s1
|
|
# CHECK-APPLE: sha1su1.4s v0, v1
|
|
# CHECK-APPLE: sha256su0.4s v0, v1
|