diff options
author | Matt Turner <[email protected]> | 2015-04-14 12:40:34 -0700 |
---|---|---|
committer | Matt Turner <[email protected]> | 2015-04-21 09:24:48 -0700 |
commit | dd5c8250537640f92dbc1ee63d516c6e3e2aaf77 (patch) | |
tree | 8329be3ef9aba9b6a2cc31c9839579d3af124fc3 /docs/sourcetree.html | |
parent | 3b4abdae041802183fa7d3792a21bf9ca10df96e (diff) |
i965: Replace guess_execution_size with something simpler.
guess_execution_size() does two things:
1. Cope with small destination registers.
2. Cope with SIMD8 vs SIMD16 mode.
This patch replaces the first with a simple if block in brw_set_dest: if
the destination register width is less than 8, you probably want the
execution size to match. (I didn't put this in the 3src block because
it doesn't seem to matter.)
Since only the FS compiler cares about SIMD16 mode, it's easy to just
set the default execution size there.
This pattern was already been proven in the Gen8+ generator, but we
didn't port it back to the existing generator when we combined the two.
This is based on a patch from Ken from about a year ago. I've rebased it
and and fixed a few bugs.
Reviewed-by: Jason Ekstrand <[email protected]>
Diffstat (limited to 'docs/sourcetree.html')
0 files changed, 0 insertions, 0 deletions