2013-09-05 16:05:45 +00:00
|
|
|
# RUN: llvm-mc -disassemble -triple armv8 -mattr=+db -show-encoding < %s | FileCheck %s
|
2013-09-05 14:14:19 +00:00
|
|
|
|
|
|
|
# New v8 ARM instructions
|
|
|
|
|
|
|
|
# HLT
|
|
|
|
|
|
|
|
0x70 0x00 0x00 0xe1
|
|
|
|
# CHECK: hlt #0
|
|
|
|
|
|
|
|
0x7f 0xff 0x0f 0xe1
|
|
|
|
# CHECK: hlt #65535
|
2013-09-05 16:05:45 +00:00
|
|
|
|
|
|
|
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
|
2013-10-01 12:39:11 +00:00
|
|
|
|
|
|
|
0x05 0xf0 0x20 0xe3
|
|
|
|
# CHECK: sevl
|
2013-11-08 16:16:30 +00:00
|
|
|
|
|
|
|
|
|
|
|
# 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
|
|
|
|
|