[llvm-commits] LLVM patch to implement UMLAL/SMLAL Instructions for ARM Architecture.

Yin Ma yinma at codeaurora.org
Thu Mar 8 16:15:53 PST 2012


The current definition of UMLAL/SMLAL in LLVM for ARM is not used and the

definition is not correct because the instruction reads the four values

as the input values instead of two values defined in the .td file.

 

I have created a bugzilla entry  regarding to this issue:

http://llvm.org/bugs/show_bug.cgi?id=12213

 

I am proposing a patch not only fixed the definition but also added the
corresponding 

generation algorithm on DAG. This algorithm only operates on ARM backend. It
identifies the 

opportunity of conversions during DAG process. 

 

llmla.diff is the code change

longMAC.ll is the test case for ARM

longMACt.ll is the test case for Thumb2

report.simple.txt is the result from test-suites

result.txt is the result from test

 

Please give a review. Thanks,

 

                                        Yin 

 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20120308/c7af449d/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: llmlal.diff
Type: application/octet-stream
Size: 14718 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20120308/c7af449d/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: longMAC.ll
Type: application/octet-stream
Size: 1075 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20120308/c7af449d/attachment-0001.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: longMACt.ll
Type: application/octet-stream
Size: 1092 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20120308/c7af449d/attachment-0002.obj>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: report.simple.txt
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20120308/c7af449d/attachment.txt>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: result.txt
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20120308/c7af449d/attachment-0001.txt>


More information about the llvm-commits mailing list