This is an archive of the discontinued LLVM Phabricator instance.

[mips][microMIPS] Implement APPEND, BPOSGE32C, MODSUB, MULSA.W.PH and MULSAQ_S.W.PH instructions
ClosedPublic

Authored by hvarga on Oct 27 2015, 6:59 AM.

Details

Summary

The patch implements microMIPSDSP instructions: APPEND, BPOSGE32C, MODSUB, MULSA.W.PH and MULSAQ_S.W.PH.

Diff Detail

Repository
rL LLVM

Event Timeline

hvarga updated this revision to Diff 38540.Oct 27 2015, 6:59 AM
hvarga retitled this revision from to [mips][microMIPS] Implement APPEND, BPOSGE32C, MODSUB, MULSA.W.PH and MULSAQ_S.W.PH instructions.
hvarga updated this object.
hvarga added subscribers: petarj, llvm-commits.
hvarga updated this revision to Diff 38632.Oct 28 2015, 12:59 AM

Fixed error "Multiple matches found for 'APPEND', for the relation 'Dsp2MicroMips'" and added DspMMRel to BPOSGE32 instruction.

sdardis accepted this revision.Apr 25 2016, 3:55 AM
sdardis added a reviewer: sdardis.
sdardis added a subscriber: sdardis.

LGTM with one nit: you should add an invalid test case for APPEND, MULSA.W.PH and MULSAQ_S.W.PH. For append you want to be testing that that the out of range immediates are rejected and for the muls, that the first operand is rejected if it is a GPR and that the other operands are GPRs.

This revision is now accepted and ready to land.Apr 25 2016, 3:55 AM
This revision was automatically updated to reflect the committed changes.