diff options
author | Matt Turner <[email protected]> | 2013-12-12 00:30:16 -0800 |
---|---|---|
committer | Matt Turner <[email protected]> | 2014-01-28 17:47:41 -0800 |
commit | 947c828d5cbffe9640ac63103a6223112eeff27f (patch) | |
tree | 0f27f1123026e8bf9ca6fbac366020074988124b /src/gallium/drivers/radeonsi/si_state.h | |
parent | 39d7ec2c9a1b0213fa64c58fe3e1843119a62904 (diff) |
i965/fs: Add a saturation propagation optimization pass.
Transforms, for example,
mul vgrf3, vgrf2, vgrf1
mov.sat vgrf4, vgrf3
into
mul.sat vgrf3, vgrf2, vgrf1
mov vgrf4, vgrf3
which gives register_coalescing an opportunity to remove the MOV
instruction.
total instructions in shared programs: 1515039 -> 1504634 (-0.69%)
instructions in affected programs: 798586 -> 788181 (-1.30%)
GAINED: 0
LOST: 4
Reviewed-by: Jordan Justen <[email protected]>
Diffstat (limited to 'src/gallium/drivers/radeonsi/si_state.h')
0 files changed, 0 insertions, 0 deletions