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
   48
   49
   50
   51
   52
   53
   54
   55
   56
   57
   58
# RUN: llvm-mc -disassemble -triple armv8 -mattr=+db -show-encoding < %s | FileCheck %s

# New v8 ARM instructions

# HLT

0x70 0x00 0x00 0xe1
# CHECK: hlt #0

0x7f 0xff 0x0f 0xe1
# CHECK: hlt #65535

0x59 0xf0 0x7f 0xf5
0x51 0xf0 0x7f 0xf5
0x55 0xf0 0x7f 0xf5
0x5d 0xf0 0x7f 0xf5
# CHECK: dmb ishld
# CHECK: dmb oshld
# CHECK: dmb nshld
# CHECK: dmb ld

0x05 0xf0 0x20 0xe3
# CHECK: sevl


# These are the only coprocessor instructions that remain defined in ARMv8
# (The operations on p10/p11 disassemble into FP/NEON instructions)

0x10 0x0e 0x00 0xee
# CHECK: mcr p14

0x10 0x0f 0x00 0xee
# CHECK: mcr p15

0x10 0x0e 0x10 0xee
# CHECK: mrc p14

0x10 0x0f 0x10 0xee
# CHECK: mrc p15

0x00 0x0e 0x40 0xec
# CHECK: mcrr p14

0x00 0x0f 0x40 0xec
# CHECK: mcrr p15

0x00 0x0e 0x50 0xec
# CHECK: mrrc p14

0x00 0x0f 0x50 0xec
# CHECK: mrrc p15

0x00 0x0e 0x80 0xec
# CHECK: stc p14

0x00 0x0e 0x90 0xec
# CHECK: ldc p14