This is an archive of the discontinued LLVM Phabricator instance.

[mips][microMIPS] Implement microMIPS 16-bit instructions registers
ClosedPublic

Authored by jkolek on Aug 29 2014, 3:08 AM.

Details

Summary

Implement microMIPS 16-bit instructions registers.

Diff Detail

Repository
rL LLVM

Event Timeline

jkolek updated this revision to Diff 13071.Aug 29 2014, 3:08 AM
jkolek retitled this revision from to [mips][microMIPS] Implement microMIPS 16-bit instructions registers.
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 14115.Sep 26 2014, 6:58 AM
jkolek added a reviewer: sstankovic.
sstankovic added inline comments.Sep 30 2014, 8:43 AM
lib/Target/Mips/MipsRegisterInfo.td
294 ↗(On Diff #14115)

I think that you don't need a template for a register class, since you instantiate it in only one place; you can directly define GPRMM16 as:

def GPRMM16 : RegisterClass<"Mips", [i32], 32, (add

// Return Values and Arguments
V0, V1, A0, A1, A2, A3,
// Callee save
S0, S1)>;
jkolek updated this revision to Diff 14792.Oct 13 2014, 5:18 AM

Class GPRMM16Class removed , GPRMM16 is defined directly.

sstankovic accepted this revision.Oct 13 2014, 5:26 AM
sstankovic edited edge metadata.
This revision is now accepted and ready to land.Oct 13 2014, 5:26 AM
Diffusion closed this revision.Oct 21 2014, 1:33 AM
Diffusion updated this revision to Diff 15170.

Closed by commit rL220273 (authored by zjovanovic).

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