1 # RUN: llvm-mc -triple arm64-apple-darwin -mattr=crypto --disassemble < %s | FileCheck %s
2 # RUN: llvm-mc -triple arm64-apple-darwin -mattr=crypto -output-asm-variant=1 --disassemble < %s | FileCheck %s --check-prefix=CHECK-APPLE
19 # CHECK: aese v0.16b, v1.16b
20 # CHECK: aesd v0.16b, v1.16b
21 # CHECK: aesmc v0.16b, v1.16b
22 # CHECK: aesimc v0.16b, v1.16b
23 # CHECK: sha1c q0, s1, v2.4s
24 # CHECK: sha1p q0, s1, v2.4s
25 # CHECK: sha1m q0, s1, v2.4s
26 # CHECK: sha1su0 v0.4s, v1.4s, v2
27 # CHECK: sha256h q0, q1, v2.4s
28 # CHECK: sha256h2 q0, q1, v2.4s
29 # CHECK: sha256su1 v0.4s, v1.4s, v2.4s
31 # CHECK: sha1su1 v0.4s, v1.4s
32 # CHECK: sha256su0 v0.4s, v1.4s
34 # CHECK-APPLE: aese.16b v0, v1
35 # CHECK-APPLE: aesd.16b v0, v1
36 # CHECK-APPLE: aesmc.16b v0, v1
37 # CHECK-APPLE: aesimc.16b v0, v1
38 # CHECK-APPLE: sha1c.4s q0, s1, v2
39 # CHECK-APPLE: sha1p.4s q0, s1, v2
40 # CHECK-APPLE: sha1m.4s q0, s1, v2
41 # CHECK-APPLE: sha1su0.4s v0, v1, v2
42 # CHECK-APPLE: sha256h.4s q0, q1, v2
43 # CHECK-APPLE: sha256h2.4s q0, q1, v2
44 # CHECK-APPLE: sha256su1.4s v0, v1, v2
45 # CHECK-APPLE: sha1h s0, s1
46 # CHECK-APPLE: sha1su1.4s v0, v1
47 # CHECK-APPLE: sha256su0.4s v0, v1