PATCHES: R600/SI: Codesize improvements

Tom Stellard tom at stellard.net
Thu Apr 23 12:58:19 PDT 2015


Hi,

The attached patches reduce overall shader code size by preferring
v_mac_f32 over v_mad_f32 and also using the 32-bit encoding for
v_cndmask when src2 is vcc.

-Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-CodeGen-Make-MachineInstr-untieRegOperand-a-public-f.patch
Type: text/x-diff
Size: 1498 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150423/31d33642/attachment.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-R600-SI-Fix-crash-on-physical-registers-in-SIInstrIn.patch
Type: text/x-diff
Size: 1176 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150423/31d33642/attachment-0001.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0003-R600-SI-The-SIShrinkInstructions-pass-should-only-fo.patch
Type: text/x-diff
Size: 1004 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150423/31d33642/attachment-0002.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0004-R600-SI-Select-mad-patterns-to-v_mac_f32.patch
Type: text/x-diff
Size: 39433 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150423/31d33642/attachment-0003.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0005-R600-SI-Add-support-for-shrinking-v_cndmask_b32_e32-.patch
Type: text/x-diff
Size: 16438 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150423/31d33642/attachment-0004.patch>


More information about the llvm-commits mailing list