[mips] Add new format for dmtc2/dmfc2 for Octeon CPUs.
authorKai Nacke <kai.nacke@redstar.de>
Thu, 28 May 2015 16:23:16 +0000 (16:23 +0000)
committerKai Nacke <kai.nacke@redstar.de>
Thu, 28 May 2015 16:23:16 +0000 (16:23 +0000)
commit95fa1db8f537f1c1f574f392df4cc553fbf288db
treefde63c923fe2bc56177e2bcd94a7fb864813566a
parent5d25204af9871a93c082e519e650bd83e5120542
[mips] Add new format for dmtc2/dmfc2 for Octeon CPUs.

Octeon CPUs use dmtc2 rt,imm16 and dmfcp2 rt,imm16 for the crypto coprocessor.
E.g. dmtc2 rt,0x4057 starts calculation of sha-1.

I had to introduce a new deconding namespace to avoid a decoding conflict.

Reviewed By: dsanders

Differential Revision: http://reviews.llvm.org/D10083

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@238439 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/Mips/Disassembler/MipsDisassembler.cpp
lib/Target/Mips/Mips64InstrInfo.td
lib/Target/Mips/MipsInstrFormats.td
test/MC/Mips/octeon-instructions.s