ARM: implement MRS/MSR (banked reg) system instructions.
authorTim Northover <tnorthover@apple.com>
Fri, 15 Aug 2014 10:47:12 +0000 (10:47 +0000)
committerTim Northover <tnorthover@apple.com>
Fri, 15 Aug 2014 10:47:12 +0000 (10:47 +0000)
commitf52efce72d9a41c4cd18fe2ccba41b7cf9ed1b00
tree5b28c00910a1e05a59c1d8f7489590a2be5cdd02
parent69d0bd617599f713d17b134177f3f7d0b63cc69f
ARM: implement MRS/MSR (banked reg) system instructions.

These are system-only instructions for CPUs with virtualization
extensions, allowing a hypervisor easy access to all of the various
different AArch32 registers.

rdar://problem/17861345

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@215700 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/ARM/ARMInstrFormats.td
lib/Target/ARM/ARMInstrInfo.td
lib/Target/ARM/ARMInstrThumb2.td
lib/Target/ARM/AsmParser/ARMAsmParser.cpp
lib/Target/ARM/Disassembler/ARMDisassembler.cpp
lib/Target/ARM/InstPrinter/ARMInstPrinter.cpp
lib/Target/ARM/InstPrinter/ARMInstPrinter.h
test/MC/ARM/move-banked-regs.s [new file with mode: 0644]
test/MC/Disassembler/ARM/move-banked-regs-arm.txt [new file with mode: 0644]
test/MC/Disassembler/ARM/move-banked-regs-thumb.txt [new file with mode: 0644]