diff options
author | Karol Herbst <[email protected]> | 2016-01-24 00:16:05 +0100 |
---|---|---|
committer | Ilia Mirkin <[email protected]> | 2016-02-16 18:20:10 -0500 |
commit | 068e9848ba5937673d66c42a4b44067fd78becaf (patch) | |
tree | 23e03894acd9dab58ff32da31ad701d1d72104cd /src/gallium/drivers/trace | |
parent | ca23c8081f1f9f709df7a63b9e6de379c0b8df44 (diff) |
nv50/ir: optimize neg(and(set, 1)) to set
helps shaders in saints row IV, bioshock infinite and shadow warrior
total instructions in shared programs : 1914931 -> 1903900 (-0.58%)
total gprs used in shared programs : 247920 -> 247785 (-0.05%)
total local used in shared programs : 5673 -> 5673 (0.00%)
total bytes used in shared programs : 17558272 -> 17457320 (-0.57%)
local gpr inst bytes
helped 0 137 719 719
hurt 0 12 0 0
v2: remove this opt for OP_SLCT and check against float for OP_SET
v3: simplified the code
Signed-off-by: Karol Herbst <[email protected]>
Reviewed-by: Ilia Mirkin <[email protected]>
Diffstat (limited to 'src/gallium/drivers/trace')
0 files changed, 0 insertions, 0 deletions