summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/Mips/AsmParser
diff options
context:
space:
mode:
authorSimon Dardis <simon.dardis@imgtec.com>2016-09-16 13:56:05 +0000
committerSimon Dardis <simon.dardis@imgtec.com>2016-09-16 13:56:05 +0000
commite53cfa73e49557692f3233d49cb7bbd47bf610ce (patch)
treeee90115a566d77c6ab82e5a65eee8ce3c4323e02 /llvm/lib/Target/Mips/AsmParser
parent8dd61aee30541523012e713f15152744a7222e90 (diff)
downloadbcm5719-llvm-e53cfa73e49557692f3233d49cb7bbd47bf610ce.tar.gz
bcm5719-llvm-e53cfa73e49557692f3233d49cb7bbd47bf610ce.zip
Revert "[mips] Fix aui/daui/dahi/dati for MIPSR6"
This reverts r281724. Still need dsanders to accept this. llvm-svn: 281726
Diffstat (limited to 'llvm/lib/Target/Mips/AsmParser')
-rw-r--r--llvm/lib/Target/Mips/AsmParser/MipsAsmParser.cpp10
1 files changed, 0 insertions, 10 deletions
diff --git a/llvm/lib/Target/Mips/AsmParser/MipsAsmParser.cpp b/llvm/lib/Target/Mips/AsmParser/MipsAsmParser.cpp
index 600316acaeb..cdbf4a62c8c 100644
--- a/llvm/lib/Target/Mips/AsmParser/MipsAsmParser.cpp
+++ b/llvm/lib/Target/Mips/AsmParser/MipsAsmParser.cpp
@@ -3824,8 +3824,6 @@ MipsAsmParser::checkEarlyTargetMatchPredicate(MCInst &Inst,
return Match_Success;
case Mips::DATI:
case Mips::DAHI:
- case Mips::DATI_MM64R6:
- case Mips::DAHI_MM64R6:
if (static_cast<MipsOperand &>(*Operands[1])
.isValidForTie(static_cast<MipsOperand &>(*Operands[2])))
return Match_Success;
@@ -3834,14 +3832,6 @@ MipsAsmParser::checkEarlyTargetMatchPredicate(MCInst &Inst,
}
unsigned MipsAsmParser::checkTargetMatchPredicate(MCInst &Inst) {
switch (Inst.getOpcode()) {
- // As described by the MIPSR6 spec, daui must not use the zero operand for
- // its source operand.
- case Mips::DAUI:
- case Mips::DAUI_MM64R6:
- if (Inst.getOperand(1).getReg() == Mips::ZERO ||
- Inst.getOperand(1).getReg() == Mips::ZERO_64)
- return Match_RequiresNoZeroRegister;
- return Match_Success;
// As described by the Mips32r2 spec, the registers Rd and Rs for
// jalr.hb must be different.
// It also applies for registers Rt and Rs of microMIPSr6 jalrc.hb instruction
OpenPOWER on IntegriCloud