[mips][msa] Direct Object Emission of INSERT.{B,H,W} instruction.
authorMatheus Almeida <matheus.almeida@imgtec.com>
Mon, 14 Oct 2013 11:49:30 +0000 (11:49 +0000)
committerMatheus Almeida <matheus.almeida@imgtec.com>
Mon, 14 Oct 2013 11:49:30 +0000 (11:49 +0000)
commit45ecbfc8e58923131068dced0cf89348ac61208f
tree856470d2e2a3ab751ed7a2d5cd0c0afd66210eb8
parenta0f6d1651b08254982244e18afcdd513ca34a3ca
[mips][msa] Direct Object Emission of INSERT.{B,H,W} instruction.

INSERT is the first type of MSA instruction that requires a change to the way
MSA registers are parsed. This happens because MSA registers may be suffixed by
an index in the form of an immediate or a general purpose register. The changes
to parseMSARegs reflect that requirement.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@192582 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/Mips/AsmParser/MipsAsmParser.cpp
lib/Target/Mips/MipsMSAInstrFormats.td
lib/Target/Mips/MipsMSAInstrInfo.td
test/MC/Mips/msa/test_elm_insert.s [new file with mode: 0644]