This is an archive of the discontinued LLVM Phabricator instance.

[mips][microMIPS] Implement SHRA[_R].PH, SHRAV[_R].PH, SHRAV[_R].QB, SHRAV_R.W, SHRA_R.W, SHRL.PH, SHRL.QB, SHRLV.PH and SHRLV.QB instructions
ClosedPublic

Authored by zbuljan on Oct 23 2015, 12:56 AM.

Details

Summary

The patch implements microMIPSDSP instructions: SHRA[_R].PH, SHRAV[_R].PH, SHRAV[_R].QB, SHRAV_R.W, SHRA_R.W, SHRL.PH, SHRL.QB, SHRLV.PH and SHRLV.QB

Diff Detail

Repository
rL LLVM

Event Timeline

zbuljan updated this revision to Diff 38215.Oct 23 2015, 12:56 AM
zbuljan retitled this revision from to [mips][microMIPS] Implement SHRA[_R].PH, SHRAV[_R].PH, SHRAV[_R].QB, SHRAV_R.W, SHRA_R.W, SHRL.PH, SHRL.QB, SHRLV.PH and SHRLV.QB instructions.
zbuljan updated this object.
zbuljan added subscribers: petarj, llvm-commits.
dsanders accepted this revision.Nov 12 2015, 3:56 AM
dsanders edited edge metadata.

LGTM with some additional tests to cover out-of-range immediates (e.g. something like the tests for the 'align' instruction immediate in test/MC/Mips/mips32r6/invalid.s).

This revision is now accepted and ready to land.Nov 12 2015, 3:56 AM
This revision was automatically updated to reflect the committed changes.