aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/radeon/radeon_cmdbuf.h
diff options
context:
space:
mode:
authorMatt Turner <[email protected]>2014-12-30 12:18:57 -0800
committerMatt Turner <[email protected]>2015-01-23 17:57:40 -0800
commit9a3a2942240065d85e197e04d9612af696b9ea99 (patch)
tree553b89976da6f065c5edc401cd5d3aaff00a2799 /src/mesa/drivers/dri/radeon/radeon_cmdbuf.h
parentd6317beb463e1e362562fd0353a99b4b080c136c (diff)
i965/fs: Allow flipping cond mod for negated arguments.
This allows us to apply the optimization in cases where the CMP's argument is negated, by flipping the conditional mod. For example, it allows us to optimize this: add(8) temp a b cmp.l.f0(8) null -temp 0.0 into add.g.f0(8) temp a b total instructions in shared programs: 5958360 -> 5955701 (-0.04%) instructions in affected programs: 466880 -> 464221 (-0.57%) GAINED: 0 LOST: 1 Reviewed-by: Jason Ekstrand <[email protected]> Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/radeon/radeon_cmdbuf.h')
0 files changed, 0 insertions, 0 deletions