Implement microMIPS 16-bit LWGP instruction.
Details
Details
Diff Detail
Diff Detail
Event Timeline
lib/Target/Mips/AsmParser/MipsAsmParser.cpp | ||
---|---|---|
824 | This method is not used (if I comment it out, the tests still pass). I think that you also don't need MicroMipsMemGPAsmOperand parser match class. | |
1268 | You should additionally check that the instruction is not a store, because there is no 16-bit gp-relative store instruction. For example, for the following instruction sw $3, 32($gp) instead of emitting 32-bit store instruction, the 16-bit load is emitted. Please add this instruction to the tests. |
This method is not used (if I comment it out, the tests still pass). I think that you also don't need MicroMipsMemGPAsmOperand parser match class.