The bug was that microMIPS's [ls]w[lr]e instructions claimed to support a
12-bit offset when it is only 9-bit.
Depends on D18179
Paths
| Differential D18434
[mips] Range check simm9 and fix a bug this revealed. ClosedPublic Authored by dsanders on Mar 24 2016, 3:19 AM.
Details Summary The bug was that microMIPS's [ls]w[lr]e instructions claimed to support a Depends on D18179
Diff Detail Event Timelinedsanders updated this object. dsanders added a parent revision: D18179: [mips] Correct MIPS16 jal/jalx to have uimm26 offsets and add MC layer range checks. NFC.. This revision is now accepted and ready to land.Mar 30 2016, 8:26 AM
Revision Contents
Diff 51528 lib/Target/Mips/AsmParser/MipsAsmParser.cpp
lib/Target/Mips/MicroMipsInstrInfo.td
lib/Target/Mips/MipsEVAInstrInfo.td
lib/Target/Mips/MipsInstrInfo.td
test/MC/Mips/eva/invalid-noeva-wrong-error.s
test/MC/Mips/eva/invalid_R6.s
test/MC/Mips/micromips/invalid.s
test/MC/Mips/micromips32r6/invalid.s
test/MC/Mips/mips1/invalid-mips2-wrong-error.s
test/MC/Mips/mips1/invalid-mips3-wrong-error.s
test/MC/Mips/mips1/invalid-mips4-wrong-error.s
test/MC/Mips/mips2/invalid-mips3-wrong-error.s
test/MC/Mips/mips2/invalid-mips4-wrong-error.s
test/MC/Mips/mips32r6/invalid-mips1-wrong-error.s
test/MC/Mips/mips64r6/invalid-mips1-wrong-error.s
test/MC/Mips/mips64r6/invalid-mips3-wrong-error.s
|