Implement 16-bit microMIPS jump instruction with short delay slot JALRS16.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
Comment Actions
I'm not sure the encoding and mnemonics are correct. Can you double check?
lib/Target/Mips/MicroMipsInstrInfo.td | ||
---|---|---|
107–115 ↗ | (On Diff #12843) | No changes required at the moment but something to consider for the long-run: Do we really need to define a 16-bit version of this class? Currently the answer is clearly "yes" (because we need a different base class) but we could turn this into "no" with the definition style used by DSP/MSA/R6. microMIPS has consistently used the older definition style so this will be something to deal with when we migrate the older code. |
137 ↗ | (On Diff #12843) | 0x09 doesn't look right to me. I think it's 0x0f. Also, shouldn't the "jalrs" be "jalrs16"? |
Comment Actions
LGTM, with a change in the comment for the class JumpLinkRegSMM16 (there is one unnecessary hyphen).