This is an archive of the discontinued LLVM Phabricator instance.

[mips][microMIPS] Implement DDIV, DMOD, DDIVU and DMODU instructions
ClosedPublic

Authored by zbuljan on Jul 5 2015, 11:34 PM.

Details

Summary

The patch implements microMIPS64r6 DDIV, DMOD, DDIVU and DMODU instructions.

Diff Detail

Repository
rL LLVM

Event Timeline

zbuljan updated this revision to Diff 29064.Jul 5 2015, 11:34 PM
zbuljan retitled this revision from to [mips][microMIPS] Implement DDIV, DMOD, DDIVU and DMODU instructions.
zbuljan updated this object.
zbuljan added subscribers: petarj, llvm-commits.
dsanders accepted this revision.Aug 11 2015, 4:02 AM
dsanders edited edge metadata.

LGTM with a couple spelling/style nits fixed.

lib/Target/Mips/MicroMips64r6InstrFormats.td
27 ↗(On Diff #29064)

Please use the naming convention. This class is an encoding format and should therefore be named something like:

POOL32A_DIVMOD_FM

The convention is <opcode>_<misc>_FM

lib/Target/Mips/MicroMips64r6InstrInfo.td
54–61 ↗(On Diff #29064)

Nit: *_ENC normally appears before *_DESC

This revision is now accepted and ready to land.Aug 11 2015, 4:02 AM
This revision was automatically updated to reflect the committed changes.