[mips] Add more Octeon cnMips instructions
authorKai Nacke <kai.nacke@redstar.de>
Wed, 2 Apr 2014 18:40:43 +0000 (18:40 +0000)
committerKai Nacke <kai.nacke@redstar.de>
Wed, 2 Apr 2014 18:40:43 +0000 (18:40 +0000)
commit13673ac704e5b95e24f2aab350a312597a38d406
tree66a1f8b055584d474f1584da5ed1a21f526f4c84
parentc392617cff4f5293c6a1c62a1d2dd3aa048c68ac
[mips] Add more Octeon cnMips instructions

Adds the instructions ext/ext32/cins/cins32.
It also changes pop/dpop to accept the two operand version and
adds a simple pattern to generate baddu.
Tests for the two operand versions (including baddu/dmul/dpop/pop)
and the code generation pattern for baddu are included.

Reviewed by: Daniel.Sanders@imgtec.com

llvm-svn: 205449
llvm/lib/Target/Mips/Mips64InstrInfo.td
llvm/lib/Target/Mips/MipsInstrFormats.td
llvm/test/CodeGen/Mips/octeon.ll
llvm/test/MC/Mips/octeon-instructions.s