The patch implements microMIPSr6 SLL and NOP instructions.
Details
Diff Detail
Event Timeline
lib/Target/Mips/MicroMips32r6InstrFormats.td | ||
---|---|---|
267–268 | The documentation calls them 'rt' and 'rs' respectively. That doesn't sound right though, 'rd' and 'rt' sound more likely. | |
lib/Target/Mips/MipsInstrInfo.td | ||
425–436 | Please use the existing uimm5 operand. You can add the range checking in a separate patch (either before or after) this one. |
Used existing operand uimm5 instead of new one.
Range checking for uimm5 will be added in separate patch later.
LGTM
lib/Target/Mips/MicroMips32r6InstrFormats.td | ||
---|---|---|
267–268 | I've found out a bit more about this kind of thing and I suggest we leave it as-is for now. The issue is that MIPS and microMIPS don't always agree on the names since the names are derived from the fields of the encoding table and these two encodings sometimes use different fields. I'm currently thinking of a reasonable way to account for this without making the code ugly. |
The documentation calls them 'rt' and 'rs' respectively. That doesn't sound right though, 'rd' and 'rt' sound more likely.