This is an archive of the discontinued LLVM Phabricator instance.

[mips][microMIPS] Implement LLE, LUI, LW and LWE instructions
ClosedPublic

Authored by hvarga on Aug 6 2015, 5:00 AM.

Details

Summary

The patch implements microMIPS32r6 LLE, LUI, LW and LWE instructions.

Diff Detail

Event Timeline

hvarga updated this revision to Diff 31441.Aug 6 2015, 5:00 AM
hvarga retitled this revision from to [mips][microMIPS] Implement LLE, LUI, LW and LWE instructions.
hvarga updated this object.
hvarga added subscribers: petarj, llvm-commits.
dsanders accepted this revision.Aug 21 2015, 7:10 AM
dsanders edited edge metadata.

LGTM with some nits

lib/Target/Mips/Disassembler/MipsDisassembler.cpp
288–290

Indentation

1347–1349

Indentation

lib/Target/Mips/MicroMips32r6InstrFormats.td
201–238

These don't follow the naming convention.

As mentioned in D11801, please break out the parts of addr into variables.

lib/Target/Mips/MicroMips32r6InstrInfo.td
295

Naming convention

295–321

I don't see a need for separate LOAD_WORD and LOAD_UPPER_IMM classes. Why not just have LW_MMR6_DESC and LUI_MMR6_DESC?

299

Indentation

310

Naming convention

311

Indentation

lib/Target/Mips/MipsInstrInfo.td
1221–1222

This is from an earlier patch but please correct the indentation while you're changing it.

This revision is now accepted and ready to land.Aug 21 2015, 7:10 AM
hvarga closed this revision.Sep 9 2015, 2:09 AM

Closed by commit rL247017: [mips][microMIPS] Implement LLE, LUI, LW and LWE instructions