[PATCH] R600/SI: Allow commuting compares

Matt Arsenault arsenm2 at gmail.com
Fri Mar 20 18:49:08 PDT 2015


> On Feb 20, 2015, at 2:46 PM, Tom Stellard <tom at stellard.net> wrote:
> 
> Can't we just re-use the existing tables for this?  I don't
> understand why compare instructions need to be handled differently.
> 
> -Tom
> 



New versions which use 2 InstrMapping functions to find the commuted instruction. The _e32 and real instructions are still omitted from the table. The first patch uses separate tables for the compare instructions, and the last patch merges them to use the existing VOP2_REV ones.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150320/ef67b34a/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-R600-SI-Allow-commuting-compares.patch
Type: application/octet-stream
Size: 77675 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150320/ef67b34a/attachment.obj>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150320/ef67b34a/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-R600-SI-Move-hasSideEffects-setting-into-VOPCX-class.patch
Type: application/octet-stream
Size: 7985 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150320/ef67b34a/attachment-0001.obj>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150320/ef67b34a/attachment-0002.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0003-R600-SI-Remove-redundant-unsetting-of-hasSideEffects.patch
Type: application/octet-stream
Size: 1059 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150320/ef67b34a/attachment-0002.obj>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150320/ef67b34a/attachment-0003.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0004-R600-SI-Only-use-one-range-of-isCommutable-for-compa.patch
Type: application/octet-stream
Size: 9727 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150320/ef67b34a/attachment-0003.obj>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150320/ef67b34a/attachment-0004.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0005-R600-SI-Merge-tables-for-commuting.patch
Type: application/octet-stream
Size: 3393 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150320/ef67b34a/attachment-0004.obj>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150320/ef67b34a/attachment-0005.html>


More information about the llvm-commits mailing list