[llvm-commits] LLVM patch to support ARM fused multiply add/subtract instructions

Ana Pazos apazos at codeaurora.org
Wed Jan 4 13:41:39 PST 2012


Hello folks,

 

Some ARMv7-A processor implementations  (e.g, Qualcomm 8960, ARM Cortex-A5)
support fused multiply add/subtract instructions (VFMA/VFMS) which have
lower latency and greater accuracy than the chained multiply add/subtract
instructions (VMLA/VMLS).

 

I have modified LLVM ARM target files to add support for fused multiply
add/subtract instructions. A processor definition just needs to add
'FeatureNEONVFP4'  to its list of subtarget features in order to enable the
generation of fused multiply add/subtract instructions.

 

The patch is attached for your review, if you have interest in merging this
change into LLVM.

 

Patch details:

fusedMACpatch.diff

Changes to ARM-specific files to support fused multiply add/subtract
instructions.

Associated fused multiply add/subtract instructions with processor subtarget
feature 'FeatureNEONVFP4'  and with the assembler feature flag 'neon-vfpv4'
.

 

fusedMAC.ll

Test to check for generated fused multiply accumulate and subtract
instructions.

 

failures.txt

Failure report from running llvm/test and projects/test-suite on ARM.

 

Thank you,

Ana.

 

 

 

--

Qualcomm Innovation Center, Inc is a member of Code Aurora Forum

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20120104/3eb89ad0/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fusedMAC.ll
Type: application/octet-stream
Size: 1739 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20120104/3eb89ad0/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fusedMACpatch.diff
Type: application/octet-stream
Size: 20199 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20120104/3eb89ad0/attachment-0001.obj>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: failures.txt
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20120104/3eb89ad0/attachment.txt>


More information about the llvm-commits mailing list