This is an archive of the discontinued LLVM Phabricator instance.

[mips][microMIPS] Implement BREAK16, LI16, MOVE16, SDBBP16, SUBU16 and XOR16 instructions
ClosedPublic

Authored by hvarga on Jul 17 2015, 4:16 AM.

Details

Summary

The patch implements microMIPSr6 BREAK16, LI16, MOVE16, SDBBP16, SUBU16 and XOR16 instructions.

Diff Detail

Repository
rL LLVM

Event Timeline

hvarga updated this revision to Diff 29990.Jul 17 2015, 4:16 AM
hvarga retitled this revision from to [mips][microMIPS] Implement BREAK16, LI16, MOVE16, SDBBP16, SUBU16 and XOR16 instructions.
hvarga updated this object.
hvarga added subscribers: llvm-commits, petarj.
dsanders accepted this revision.Sep 9 2015, 6:02 AM
dsanders edited edge metadata.

LGTM with a couple nits

lib/Target/Mips/MicroMips32r6InstrFormats.td
341 ↗(On Diff #29990)

POOL16C contains a wide variety of instructions so we should probably have some disambiguating text between the 'POOL16C_' and the 'FM_MMR6'

lib/Target/Mips/MicroMips32r6InstrInfo.td
299–324 ↗(On Diff #29990)

Indentation.

411–422 ↗(On Diff #29990)

The indentation is off by one on some of these.

This revision is now accepted and ready to land.Sep 9 2015, 6:02 AM
This revision was automatically updated to reflect the committed changes.