summaryrefslogtreecommitdiffstats
path: root/src/gallium
diff options
context:
space:
mode:
authorFrancisco Jerez <[email protected]>2016-04-30 15:08:29 -0700
committerFrancisco Jerez <[email protected]>2016-05-29 23:41:38 -0700
commitd5f2f32b118331070507faf292bbe3da2671df4b (patch)
treeefe87dc546fab579386fba3ba2011d5a8484dba6 /src/gallium
parente9eb59ba680a49d210966f4a3d86b6b5ff0db6f2 (diff)
i965/fs: Run SIMD and logical send lowering after the optimization loop.
There are two reasons why this is useful: - It avoids the introduction of an amount of partial writes emitted by the SIMD lowering pass to zip and unzip register regions early during optimization, which can make subsequent optimization less effective. - It substantially reduces the burden on the compiler when a large fraction of the instructions in the program need to be split (e.g. during SIMD32 builds). Individual halves of split instructions will be optimized identically (if they can still be optimized at all), so doing it up front can duplicate the amount of instructions the optimizer has to deal with which causes the compilation time to explode in some cases due to the worse-than-linear runtime behaviour of the back-end. It seems helpful to re-run a few optimization passes in cases where any of the lowering passes was able to make progress. Reviewed-by: Jason Ekstrand <[email protected]>
Diffstat (limited to 'src/gallium')
0 files changed, 0 insertions, 0 deletions