[AArch64] Add ARMv8.2-A UAO PSTATE bit
authorOliver Stannard <oliver.stannard@arm.com>
Thu, 26 Nov 2015 15:32:30 +0000 (15:32 +0000)
committerOliver Stannard <oliver.stannard@arm.com>
Thu, 26 Nov 2015 15:32:30 +0000 (15:32 +0000)
commit0981e5a6cec9a4c79a06af37d025bb1faeeb7ff7
tree08363512fcfbda4a6fb741e094f9bb26aab40558
parentdf55505b87a7347563a74be51006950a261c410f
[AArch64] Add ARMv8.2-A UAO PSTATE bit

ARMv8.2-A adds a new PSTATE bit, PSTATE.UAO, which allows the LDTR/STTR
instructions to behave the same as LDR/STR with respect to execute-only
pages at higher privilege levels. New variants of the MSR/MRS
instructions are added to allow reading and writing this bit. It is a
required part of ARMv8.2-A, so no additional subtarget features are
required.

Differential Revision: http://reviews.llvm.org/D15020

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@254157 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/AArch64/AArch64ISelDAGToDAG.cpp
lib/Target/AArch64/AsmParser/AArch64AsmParser.cpp
lib/Target/AArch64/Disassembler/AArch64Disassembler.cpp
lib/Target/AArch64/Utils/AArch64BaseInfo.cpp
lib/Target/AArch64/Utils/AArch64BaseInfo.h
test/MC/AArch64/armv8.2a-uao.s [new file with mode: 0644]
test/MC/Disassembler/AArch64/armv8.2a-uao.txt [new file with mode: 0644]