diff options
author | Francisco Jerez <[email protected]> | 2016-09-01 19:16:01 -0700 |
---|---|---|
committer | Francisco Jerez <[email protected]> | 2016-09-14 14:50:56 -0700 |
commit | 62aaef6c83e4eb354bd7f15803db01e90d22fc34 (patch) | |
tree | d98f66e18fb8454b07cc60b85389fa9b16c63eba /docs | |
parent | 3b7b90878770530ad3da44c6beb1401c40f1ffd6 (diff) |
i965/fs: Simplify and fix buggy stride/offset calculations using subscript().
These were bashing the 'offset' and 'stride' values of several
registers without taking the previous value into account, which
probably didn't matter in practice for optimize_frontfacing_ternary()
because the 'tmp' register already had a known region, but it would
have given the wrong region as result in the other cases in
lower_integer_multiplication(). subscript(..., i) is a more
straightforward way to take the i-th field of a given type from each
channel of a register which should give the right answer as result
regardless of the original 'offset' and 'stride' parameters of the
register region.
Reviewed-by: Iago Toral Quiroga <[email protected]>
Diffstat (limited to 'docs')
0 files changed, 0 insertions, 0 deletions