diff options
author | Karol Herbst <[email protected]> | 2016-01-27 18:25:05 +0100 |
---|---|---|
committer | Ilia Mirkin <[email protected]> | 2016-01-28 15:34:22 -0500 |
commit | 978ae28ca279354852a586b202e705db3d596041 (patch) | |
tree | aa35f2ce62383b7038411f33b0b7570f906b0e28 /src/gallium/drivers/nouveau/nouveau_gldefs.h | |
parent | 089f60543930fcdab3848d59e6182abcaaeb1b86 (diff) |
nv50/ir: optimize shl(shr(a, c), c) to and(a, ~((1 << c) - 1))
Following shader-db results on GK110:
total instructions in shared programs : 6141510 -> 6131491 (-0.16%)
total gprs used in shared programs : 910187 -> 910157 (-0.00%)
total local used in shared programs : 15328 -> 15328 (0.00%)
local gpr inst bytes
helped 0 18 821 821
hurt 0 0 0 0
Signed-off-by: Karol Herbst <[email protected]>
Reviewed-by: Ilia Mirkin <[email protected]>
Diffstat (limited to 'src/gallium/drivers/nouveau/nouveau_gldefs.h')
0 files changed, 0 insertions, 0 deletions