OSDN Git Service

[mips] correct operand range for DINSM instruction
authorPetar Jovanovic <petar.jovanovic@imgtec.com>
Wed, 13 Sep 2017 14:09:13 +0000 (14:09 +0000)
committerPetar Jovanovic <petar.jovanovic@imgtec.com>
Wed, 13 Sep 2017 14:09:13 +0000 (14:09 +0000)
commit66341b5d6a0bb2b2fb499e6f35141c549c582b7f
treec71bdbaec2eaa495a4ca8f4eefbd18a3cc7ad828
parentdb48628bdf804d8ed4aa36a88dec8b824135118a
[mips] correct operand range for DINSM instruction

This patch corrects the definition of the DINSM instruction.
Specification for DINSM instruction for Mips64 says that size operand should
be 2 <= size <= 64, but it is defined as uimm5_inssize_plus1 which gives
range of 1 .. 32.

Patch by Aleksandar Beserminji.

Differential Revision: https://reviews.llvm.org/D37683

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@313149 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/Mips/Mips64InstrInfo.td
test/MC/Mips/mips64r2/valid.s
test/MC/Mips/mips64r6/valid.s