diff options
author | Akira Hatanaka <ahatanaka@mips.com> | 2013-08-08 21:54:26 +0000 |
---|---|---|
committer | Akira Hatanaka <ahatanaka@mips.com> | 2013-08-08 21:54:26 +0000 |
commit | 491d04969d9f29ed891c73238648853954ba4f81 (patch) | |
tree | b96f1d0a87b3824245860ec77ca80f7cd6607079 /lib/Target/Mips/AsmParser | |
parent | 7af40bfa6614896913e0953bfe850d8c1ef0e593 (diff) | |
download | llvm-491d04969d9f29ed891c73238648853954ba4f81.tar.gz llvm-491d04969d9f29ed891c73238648853954ba4f81.tar.bz2 llvm-491d04969d9f29ed891c73238648853954ba4f81.tar.xz |
[mips] Rename accumulator register classes and FP register operands.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@188020 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/Mips/AsmParser')
-rw-r--r-- | lib/Target/Mips/AsmParser/MipsAsmParser.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/lib/Target/Mips/AsmParser/MipsAsmParser.cpp b/lib/Target/Mips/AsmParser/MipsAsmParser.cpp index c14f907ac6..0754052495 100644 --- a/lib/Target/Mips/AsmParser/MipsAsmParser.cpp +++ b/lib/Target/Mips/AsmParser/MipsAsmParser.cpp @@ -112,7 +112,7 @@ class MipsAsmParser : public MCTargetAsmParser { parseFCCRegs(SmallVectorImpl<MCParsedAsmOperand*> &Operands); MipsAsmParser::OperandMatchResultTy - parseACRegsDSP(SmallVectorImpl<MCParsedAsmOperand*> &Operands); + parseACC64DSP(SmallVectorImpl<MCParsedAsmOperand*> &Operands); bool searchSymbolAlias(SmallVectorImpl<MCParsedAsmOperand*> &Operands, unsigned RegKind); @@ -223,7 +223,7 @@ public: Kind_AFGR64Regs, Kind_CCRRegs, Kind_FCCRegs, - Kind_ACRegsDSP + Kind_ACC64DSP }; private: @@ -405,8 +405,8 @@ public: return (Kind == k_Register) && Reg.Kind == Kind_FCCRegs; } - bool isACRegsDSPAsm() const { - return Kind == k_Register && Reg.Kind == Kind_ACRegsDSP; + bool isACC64DSPAsm() const { + return Kind == k_Register && Reg.Kind == Kind_ACC64DSP; } /// getStartLoc - Get the location of the first token of this operand. @@ -1368,7 +1368,7 @@ MipsAsmParser::parseFCCRegs(SmallVectorImpl<MCParsedAsmOperand*> &Operands) { } MipsAsmParser::OperandMatchResultTy -MipsAsmParser::parseACRegsDSP(SmallVectorImpl<MCParsedAsmOperand*> &Operands) { +MipsAsmParser::parseACC64DSP(SmallVectorImpl<MCParsedAsmOperand*> &Operands) { // If the first token is not '$' we have an error. if (Parser.getTok().isNot(AsmToken::Dollar)) return MatchOperand_NoMatch; @@ -1390,10 +1390,10 @@ MipsAsmParser::parseACRegsDSP(SmallVectorImpl<MCParsedAsmOperand*> &Operands) { if (NumString.getAsInteger(10, IntVal)) return MatchOperand_NoMatch; - unsigned Reg = matchRegisterByNumber(IntVal, Mips::ACRegsDSPRegClassID); + unsigned Reg = matchRegisterByNumber(IntVal, Mips::ACC64DSPRegClassID); MipsOperand *Op = MipsOperand::CreateReg(Reg, S, Parser.getTok().getLoc()); - Op->setRegKind(MipsOperand::Kind_ACRegsDSP); + Op->setRegKind(MipsOperand::Kind_ACC64DSP); Operands.push_back(Op); Parser.Lex(); // Eat the register number. |