diff options
| author | Tim Northover <tnorthover@apple.com> | 2014-04-30 13:14:14 +0000 |
|---|---|---|
| committer | Tim Northover <tnorthover@apple.com> | 2014-04-30 13:14:14 +0000 |
| commit | d53a671354a3bb4cd218513978e53193c7b6773e (patch) | |
| tree | 4b3c0d0cd0f54a27fec779264a8f3021c086f4ac /llvm/lib/Target/ARM64/AsmParser/ARM64AsmParser.cpp | |
| parent | 20ad359b77767cf588f7025271bad5ca8a0bd82e (diff) | |
| download | bcm5719-llvm-d53a671354a3bb4cd218513978e53193c7b6773e.tar.gz bcm5719-llvm-d53a671354a3bb4cd218513978e53193c7b6773e.zip | |
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.
llvm-svn: 207645
Diffstat (limited to 'llvm/lib/Target/ARM64/AsmParser/ARM64AsmParser.cpp')
| -rw-r--r-- | llvm/lib/Target/ARM64/AsmParser/ARM64AsmParser.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Target/ARM64/AsmParser/ARM64AsmParser.cpp b/llvm/lib/Target/ARM64/AsmParser/ARM64AsmParser.cpp index 3df5b8b708a..115bff89c40 100644 --- a/llvm/lib/Target/ARM64/AsmParser/ARM64AsmParser.cpp +++ b/llvm/lib/Target/ARM64/AsmParser/ARM64AsmParser.cpp @@ -680,7 +680,7 @@ public: return IsKnownRegister; } - bool isSystemCPSRField() const { + bool isSystemPStateField() const { if (!isSysReg()) return false; bool IsKnownRegister; @@ -1346,7 +1346,7 @@ public: Inst.addOperand(MCOperand::CreateImm(Bits)); } - void addSystemCPSRFieldOperands(MCInst &Inst, unsigned N) const { + void addSystemPStateFieldOperands(MCInst &Inst, unsigned N) const { assert(N == 1 && "Invalid number of operands!"); bool Valid; |

