Implement microMIPS 16-bit LWGP instruction.
|824 ↗||(On Diff #18766)|
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.
|1272 ↗||(On Diff #18766)|
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.