This is an archive of the discontinued LLVM Phabricator instance.

[Sparc][LEON] Add UMAC and SMAC instruction support for Sparc LEON subtargets
ClosedPublic

Authored by lero_chris on May 4 2016, 3:56 AM.

Details

Summary

This change adds SMAC (signed multiply-accumulate) and UMAC (unsigned multiply-accumulate) for LEON subtargets of the Sparc processor.

The new files LeonFeatures.td and leon-instructions.ll will both be expanded in future, so I want to leave them separate as small files for this review, to be expanded in future check-ins.

Note: The functions are provided only for inline-assembly provision. No DAG selection is provided as this is not yet required by our project. If anyone knows the correct DAG matching rules, I'd be glad to add them.

Diff Detail

Repository
rL LLVM

Event Timeline

lero_chris updated this revision to Diff 56122.May 4 2016, 3:56 AM
lero_chris retitled this revision from to [Sparc][LEON] Add UMAC and SMAC instruction support for Sparc LEON subtargets.
lero_chris updated this object.
lero_chris set the repository for this revision to rL LLVM.
lero_chris updated this revision to Diff 56542.May 9 2016, 2:48 AM

Modified errors in coded unit tests.

This revision was automatically updated to reflect the committed changes.