reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced
    1
    2
    3
    4
    5
    6
    7
    8
    9
   10
   11
   12
   13
   14
   15
   16
   17
   18
   19
   20
   21
   22
   23
   24
   25
   26
   27
   28
   29
   30
   31
   32
   33
   34
   35
   36
   37
   38
   39
   40
   41
   42
   43
   44
   45
   46
   47
# 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