The patch implements microMIPSr6 SW and SWE instructions.
Details
Details
Diff Detail
Diff Detail
Event Timeline
Comment Actions
It will LGTM with a few spelling nits fixed.
lib/Target/Mips/MicroMips32r6InstrFormats.td | ||
---|---|---|
275–303 | The content looks right for SW and SWE but it's rather confusing to call them LW_... and LHUE_... when you are using them with SW and SWE. Please name them after the major opcode instead. The convention we are trying to use for new work is <major-opcode>_<misc>_FM where <misc> is a disambiguating string when we need it such as for POOL32C which has several formats. For example SW32_FM and POOL32C_SWE_FM | |
lib/Target/Mips/MicroMipsInstrInfo.td | ||
180–189 | Given that this is microMIPSR6 specific, it should be in MicroMips32r6InstrInfo.td. It should also be using the <insn>_DESC_BASE naming convention. |
The content looks right for SW and SWE but it's rather confusing to call them LW_... and LHUE_... when you are using them with SW and SWE.
Please name them after the major opcode instead. The convention we are trying to use for new work is <major-opcode>_<misc>_FM where <misc> is a disambiguating string when we need it such as for POOL32C which has several formats. For example SW32_FM and POOL32C_SWE_FM