diff --git a/lib/Target/Mips/MipsInstrInfo.td b/lib/Target/Mips/MipsInstrInfo.td index cdc1bae777b..c7487000c41 100644 --- a/lib/Target/Mips/MipsInstrInfo.td +++ b/lib/Target/Mips/MipsInstrInfo.td @@ -262,7 +262,9 @@ def uimm20 : Operand { def uimm10 : Operand { } -def simm16_64 : Operand; +def simm16_64 : Operand { + let DecoderMethod = "DecodeSimm16"; +} // Unsigned Operand def uimm5 : Operand { diff --git a/test/MC/Disassembler/Mips/mips64.txt b/test/MC/Disassembler/Mips/mips64.txt index 2ccef834e87..f3d2d100cae 100644 --- a/test/MC/Disassembler/Mips/mips64.txt +++ b/test/MC/Disassembler/Mips/mips64.txt @@ -2,6 +2,9 @@ # CHECK: daddiu $11, $26, 31949 0x67 0x4b 0x7c 0xcd +# CHECK: daddiu $sp, $sp, -32 +0x67 0xbd 0xff 0xe0 + # CHECK: daddu $26, $1, $11 0x00 0x2b 0xd0 0x2d