[Mesa-dev] [PATCH 0/3] nv50/ir: Some set+slct based optimization
Karol Herbst
kherbst at redhat.com
Thu Jun 21 23:14:26 UTC 2018
Doesn't break on games I tested with and piglit was okay with that as well.
Plan to test this on my Kepler card later.
total changes in shader-db:
total instructions in shared programs : 5751418 -> 5726007 (-0.44%)
total gprs used in shared programs : 664007 -> 663147 (-0.13%)
total shared used in shared programs : 548832 -> 548832 (0.00%)
total local used in shared programs : 20956 -> 20956 (0.00%)
total bytes used in shared programs : 61439848 -> 61168408 (-0.44%)
local shared gpr inst bytes
helped 0 0 719 3766 3766
hurt 0 0 39 8 8
Karol Herbst (3):
nv50/ir: optimize slct(b, c, set(a, 0)) to slct(b, c, a)
nv50/ir: clean up src2 in ConstantFolding
nv50/ir: convert slct with boolean result to set
.../nouveau/codegen/nv50_ir_peephole.cpp | 98 ++++++++++++++++++-
1 file changed, 95 insertions(+), 3 deletions(-)
--
2.17.1
More information about the mesa-dev
mailing list