diff options
author | Simon Dardis <simon.dardis@imgtec.com> | 2016-09-16 14:16:23 +0000 |
---|---|---|
committer | Simon Dardis <simon.dardis@imgtec.com> | 2016-09-16 14:16:23 +0000 |
commit | 1d56e888c9d6607908a3a441a1b1e5823eebf137 (patch) | |
tree | fa808f9710002ed476396ffc9e5dbe13ab272f93 /llvm/lib | |
parent | e7174ffcd812faba42330d8b1ef5cfd1ab959364 (diff) | |
download | bcm5719-llvm-1d56e888c9d6607908a3a441a1b1e5823eebf137.tar.gz bcm5719-llvm-1d56e888c9d6607908a3a441a1b1e5823eebf137.zip |
[mips] Fix previous revert r281726.
llvm-svn: 281729
Diffstat (limited to 'llvm/lib')
-rw-r--r-- | llvm/lib/Target/Mips/Disassembler/MipsDisassembler.cpp | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/llvm/lib/Target/Mips/Disassembler/MipsDisassembler.cpp b/llvm/lib/Target/Mips/Disassembler/MipsDisassembler.cpp index e9ec4c7d647..74a8f4f2152 100644 --- a/llvm/lib/Target/Mips/Disassembler/MipsDisassembler.cpp +++ b/llvm/lib/Target/Mips/Disassembler/MipsDisassembler.cpp @@ -447,14 +447,6 @@ static DecodeStatus DecodeDAHIDATI(MCInst &MI, InsnType insn, uint64_t Address, const void *Decoder); template <typename InsnType> -static DecodeStatus DecodeDAHIDATIMMR6(MCInst &MI, InsnType insn, uint64_t Address, - const void *Decoder); - -template <typename InsnType> -static DecodeStatus DecodeDAHIDATI(MCInst &MI, InsnType insn, uint64_t Address, - const void *Decoder); - -template <typename InsnType> static DecodeStatus DecodeAddiGroupBranch(MCInst &MI, InsnType insn, uint64_t Address, const void *Decoder); @@ -640,34 +632,6 @@ static DecodeStatus DecodeDAHIDATI(MCInst &MI, InsnType insn, uint64_t Address, } template <typename InsnType> -static DecodeStatus DecodeDAHIDATIMMR6(MCInst &MI, InsnType insn, uint64_t Address, - const void *Decoder) { - InsnType Rt = fieldFromInstruction(insn, 16, 5); - InsnType Imm = fieldFromInstruction(insn, 0, 16); - MI.addOperand(MCOperand::createReg(getReg(Decoder, Mips::GPR64RegClassID, - Rt))); - MI.addOperand(MCOperand::createReg(getReg(Decoder, Mips::GPR64RegClassID, - Rt))); - MI.addOperand(MCOperand::createImm(Imm)); - - return MCDisassembler::Success; -} - -template <typename InsnType> -static DecodeStatus DecodeDAHIDATI(MCInst &MI, InsnType insn, uint64_t Address, - const void *Decoder) { - InsnType Rt = fieldFromInstruction(insn, 21, 5); - InsnType Imm = fieldFromInstruction(insn, 0, 16); - MI.addOperand(MCOperand::createReg(getReg(Decoder, Mips::GPR64RegClassID, - Rt))); - MI.addOperand(MCOperand::createReg(getReg(Decoder, Mips::GPR64RegClassID, - Rt))); - MI.addOperand(MCOperand::createImm(Imm)); - - return MCDisassembler::Success; -} - -template <typename InsnType> static DecodeStatus DecodeAddiGroupBranch(MCInst &MI, InsnType insn, uint64_t Address, const void *Decoder) { |