R600: Implement Bottom Up scheduling

Vincent Lejeune vljn at ovi.com
Tue May 14 16:14:02 PDT 2013


Hi,

This serie implement bottom up scheduling, which is be less register hungry in most situations and 

improves packetization.

The new heuristic however perform badly when there are a lot of vector operations and thus crashes in
Unigine when Ambient Occlusion shader is compiled : it uses indeed a lot of dot4 operations.
The purpose of the first patch is to avoid such situation.
I still need to improve handling of copy from physical register (they currently translate to a MOV) in a
future patch.


Vincent
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-R600-Relax-some-vector-constraints-on-Dot4.patch
Type: text/x-patch
Size: 15579 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20130514/788927f3/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-R600-Replace-big-texture-opcode-switch-in-scheduler-.patch
Type: text/x-patch
Size: 1805 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20130514/788927f3/attachment-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0003-R600-Use-depth-first-scheduling-algorithm.patch
Type: text/x-patch
Size: 10060 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20130514/788927f3/attachment-0002.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0004-R600-Use-bottom-up-scheduling-algorithm.patch
Type: text/x-patch
Size: 16381 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20130514/788927f3/attachment-0003.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0005-R600-Lower-int_load_input-to-copyFromReg-instead-of-.patch
Type: text/x-patch
Size: 27906 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20130514/788927f3/attachment-0004.bin>


More information about the llvm-commits mailing list