JR is an alias of JALR with $rd=0 in the R6 ISA. Also, this fixes recursive
builds in MIPS32R6.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
Comment Actions
LGTM.
In principle, you could exploit a redundancy in the pre-MIPSR6 instruction set to simply always emit "jalr, $zero, $at" rather than switching on the ISA.
I believe it is best that we do switch on ISA for clearer disassembly though.