[mips][msa] Fix issue with immediate fields of LD/ST instructions
authorMatheus Almeida <matheus.almeida@imgtec.com>
Thu, 5 Dec 2013 11:06:22 +0000 (11:06 +0000)
committerMatheus Almeida <matheus.almeida@imgtec.com>
Thu, 5 Dec 2013 11:06:22 +0000 (11:06 +0000)
commit4faa2b38fb0fa98fd3f157a5456c828c4e762dce
tree34e88312dc314abf0ad04af96a779388192bd6f1
parent52123d184232683deee6b51ab2245b186829f408
[mips][msa] Fix issue with immediate fields of LD/ST instructions
not being correctly encoded/decoded.
In more detail, immediate fields of LD/ST instructions should be
divided/multiplied by the size of the data format before encoding and
after decoding, respectively.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@196494 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/Mips/Disassembler/MipsDisassembler.cpp
lib/Target/Mips/MCTargetDesc/MipsMCCodeEmitter.cpp
lib/Target/Mips/MipsCodeEmitter.cpp
lib/Target/Mips/MipsInstrInfo.td
lib/Target/Mips/MipsMSAInstrInfo.td
test/MC/Mips/msa/test_mi10.s