llvm-6502/test/MC/Disassembler/ARM/virtexts-arm.txt
Charlie Turner 42563acbd4 Add ARM ERET and HVC virtualisation extension instructions.
Patch by Matthew Wahab.

Change-Id: Iad75f078fbaa4ecc7d7a4820ad9b3930679cbbbb

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@222989 91177308-0d34-0410-b5e6-96231b3b80d8
2014-12-01 08:33:28 +00:00

42 lines
875 B
Plaintext

# RUN: llvm-mc -disassemble -triple armv7a -mcpu=cortex-a15 %s | FileCheck %s
[0x71,0x00,0x40,0xe1]
[0x77,0x00,0x40,0xe1]
[0x71,0x10,0x40,0xe1]
[0x7f,0xff,0x4f,0xe1]
# CHECK: hvc #1
# CHECK: hvc #7
# CHECK: hvc #257
# CHECK: hvc #65535
[0x6e,0x00,0x60,0xe1]
[0x6e,0x00,0x60,0x01]
[0x6e,0x00,0x60,0x11]
[0x6e,0x00,0x60,0x21]
[0x6e,0x00,0x60,0x31]
[0x6e,0x00,0x60,0x41]
[0x6e,0x00,0x60,0x51]
[0x6e,0x00,0x60,0x61]
[0x6e,0x00,0x60,0x71]
[0x6e,0x00,0x60,0x81]
[0x6e,0x00,0x60,0x91]
[0x6e,0x00,0x60,0xa1]
[0x6e,0x00,0x60,0xb1]
[0x6e,0x00,0x60,0xc1]
[0x6e,0x00,0x60,0xd1]
# CHECK: eret
# CHECK: ereteq
# CHECK: eretne
# CHECK: ereths
# CHECK: eretlo
# CHECK: eretmi
# CHECK: eretpl
# CHECK: eretvs
# CHECK: eretvc
# CHECK: erethi
# CHECK: eretls
# CHECK: eretge
# CHECK: eretlt
# CHECK: eretgt
# CHECK: eretle