This is an archive of the discontinued LLVM Phabricator instance.

[mips][microMIPS] Implement ANDI16 instruction
ClosedPublic

Authored by jkolek on Sep 3 2014, 1:05 AM.

Details

Summary

Implement 16-bit microMIPS instruction ANDI16.

Diff Detail

Repository
rL LLVM

Event Timeline

jkolek updated this revision to Diff 13193.Sep 3 2014, 1:05 AM
jkolek retitled this revision from to [mips][microMIPS] Implement ANDI16 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 14374.Oct 3 2014, 5:59 AM
jkolek added a reviewer: sstankovic.
sstankovic added inline comments.Oct 10 2014, 9:09 AM
lib/Target/Mips/MCTargetDesc/MipsMCCodeEmitter.cpp
797 ↗(On Diff #14374)

I think the code will be more readable if you write operand values in decimal.

lib/Target/Mips/MicroMipsInstrInfo.td
150 ↗(On Diff #14374)

Is isCommutable allowed to be 1 when one operand is register and the other is immediate? MipsInstrInfo.td doesn't seem to do that for MIPS32.

jkolek updated this revision to Diff 14933.Oct 15 2014, 5:28 AM
jkolek updated this revision to Diff 14939.Oct 15 2014, 7:01 AM
sstankovic accepted this revision.Oct 16 2014, 6:20 AM
sstankovic edited edge metadata.
This revision is now accepted and ready to land.Oct 16 2014, 6:20 AM
Diffusion closed this revision.Nov 5 2014, 7:50 AM
Diffusion updated this revision to Diff 15808.

Closed by commit rL221351 (authored by zjovanovic).

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