AArch64/ARM64: expunge CPSR from the sources
authorTim Northover <tnorthover@apple.com>
Wed, 30 Apr 2014 13:14:14 +0000 (13:14 +0000)
committerTim Northover <tnorthover@apple.com>
Wed, 30 Apr 2014 13:14:14 +0000 (13:14 +0000)
commit36c74721061dedfa3d704bfff18170ffc49d0e44
tree2b9daad709619dfec6c8ce9eb284ccc1e17c1da3
parentd805bf8d613aaea5fb1fefd6588043fdf2573634
AArch64/ARM64: expunge CPSR from the sources

AArch64 does not have a CPSR register in the same way that AArch32 does. Most
of its compiler-relevant roles have been taken over by the more specific NZCV
register (representing just the flags set by normal instructions).

Its system control functions still remain, but are now under the
pseudo-register referred to as "PSTATE". They're accessed via various MRS & MSR
instructions described in the reference manual.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@207645 91177308-0d34-0410-b5e6-96231b3b80d8
12 files changed:
lib/Target/ARM64/ARM64ConditionalCompares.cpp
lib/Target/ARM64/ARM64ISelLowering.cpp
lib/Target/ARM64/ARM64InstrFormats.td
lib/Target/ARM64/ARM64InstrInfo.cpp
lib/Target/ARM64/ARM64InstrInfo.h
lib/Target/ARM64/ARM64InstrInfo.td
lib/Target/ARM64/ARM64RegisterInfo.cpp
lib/Target/ARM64/ARM64RegisterInfo.td
lib/Target/ARM64/AsmParser/ARM64AsmParser.cpp
lib/Target/ARM64/Disassembler/ARM64Disassembler.cpp
lib/Target/ARM64/InstPrinter/ARM64InstPrinter.cpp
lib/Target/ARM64/InstPrinter/ARM64InstPrinter.h