This is an archive of the discontinued LLVM Phabricator instance.

[mips][microMIPS] Implement JRC instruction
ClosedPublic

Authored by jkolek on Aug 25 2014, 1:47 AM.

Details

Summary

Implement 16-bit microMIPS jump instruction with no delay slot - JRC.

Diff Detail

Event Timeline

jkolek updated this revision to Diff 12895.Aug 25 2014, 1:47 AM
jkolek retitled this revision from to [mips][microMIPS] Implement JRC instruction.
jkolek updated this object.
jkolek edited the test plan for this revision. (Show Details)
jkolek added reviewers: dsanders, vmedic.
jkolek added a subscriber: zoran.jovanovic.
jkolek updated this revision to Diff 14099.Sep 26 2014, 4:00 AM
jkolek added a reviewer: sstankovic.
sstankovic added inline comments.Sep 26 2014, 6:01 AM
lib/Target/Mips/MicroMipsInstrInfo.td
139

jrc is not a call instruction, so isCall should be set to 0, and also comment should be changed.

test/MC/Mips/micromips-16-bit-instructions.s
16

jrc has no delay slot, so you should check it here, by using NEXT to ensure that next instruction is the one that follows in the .s file.

28

Same here.

jkolek updated this revision to Diff 14160.Sep 29 2014, 5:31 AM
sstankovic accepted this revision.Oct 1 2014, 7:08 AM
sstankovic edited edge metadata.
This revision is now accepted and ready to land.Oct 1 2014, 7:08 AM
Diffusion closed this revision.Oct 10 2014, 6:41 AM
Diffusion updated this revision to Diff 14721.

Closed by commit rL219494 (authored by zjovanovic).

jkolek edited edge metadata.Nov 18 2014, 5:55 AM
jkolek added a subscriber: Unknown Object (MLST).