]> granicus.if.org Git - llvm/commit
[Sparc][LEON] Add UMAC and SMAC instruction support for Sparc LEON subtargets
authorChris Dewhurst <chris.dewhurst@lero.ie>
Mon, 9 May 2016 11:55:15 +0000 (11:55 +0000)
committerChris Dewhurst <chris.dewhurst@lero.ie>
Mon, 9 May 2016 11:55:15 +0000 (11:55 +0000)
commite06fb6bce7b48b0ee218499f2f15d62cdc75e8bb
treeffeb48efa74c620475ffabfa5162cd524406cc49
parent784cb3fef6a159ccc6f15eb6ab004af77d484920
[Sparc][LEON] Add UMAC and SMAC instruction support for Sparc LEON subtargets

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.

Differential Revision: http://reviews.llvm.org/D19911

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@268908 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/Sparc/LeonFeatures.td [new file with mode: 0755]
lib/Target/Sparc/Sparc.td
lib/Target/Sparc/SparcInstrInfo.td
lib/Target/Sparc/SparcSchedule.td
lib/Target/Sparc/SparcSubtarget.cpp
lib/Target/Sparc/SparcSubtarget.h
test/MC/Sparc/leon-instructions.s [new file with mode: 0755]