[Mesa-dev] [PATCH 0/6] nv50/ir: various compiler optimizations
Karol Herbst
nouveau at karolherbst.de
Mon Jan 25 06:57:47 PST 2016
changes in my shader-db:
total instructions in shared programs : 1926020 -> 1895185 (-1.60%)
total gprs used in shared programs : 251878 -> 251739 (-0.06%)
total local used in shared programs : 5673 -> 5673 (0.00%)
total bytes used in shared programs : 17659256 -> 17379448 (-1.58%)
local gpr inst bytes
helped 0 137 3993 3993
hurt 0 8 0 0
shaders added to shader-db:
antichamber
bioshock infinite
borderlands presequel
deadcore
gputest
saints row IV
shadow warrior
talos principle
unigine heaven/valley
wasteland 2
witcher 2
Karol Herbst (6):
nv50/ir: enable PostRaConstantFolding for [c0,f0)
nv50/ir: swap sources in PostRaConstantFolding when src0 is imm
nv50/ir: optimize neg(add(bool, 1)) to bool for OP_SET and OP_SLCT
nv50/ir: optimize shl(shr(a, c), c) to and(a, ~((1 << c) - 1))
nv50/ir: add PostRADCE Pass
nv50/ir: run DCE backwards
src/gallium/drivers/nouveau/codegen/nv50_ir.h | 2 +-
.../drivers/nouveau/codegen/nv50_ir_peephole.cpp | 166 ++++++++++++++++-----
2 files changed, 129 insertions(+), 39 deletions(-)
--
2.7.0
More information about the mesa-dev
mailing list