[Mesa-dev] [PATCH v2 0/2] nv50/ir: SHLADD related improvements

Rhys Perry pendingchaos02 at gmail.com
Tue Jun 12 13:30:13 UTC 2018


This series implements an alternative solution to the problem fixed in
0bd83d0 ("nv50/ir: move LateAlgebraicOpt to the very end"). Overall, it
slightly helps various shaders while slightly hurting a few others.

Effects of both patches:

total instructions in shared programs : 5265148 -> 5256901 (-0.16%)
total gprs used in shared programs    : 624346 -> 624328 (-0.00%)
total shared used in shared programs  : 360704 -> 360704 (0.00%)
total local used in shared programs   : 20952 -> 20952 (0.00%)

                local     shared        gpr       inst      bytes 
    helped           0           0          71        2016        2016
      hurt           0           0          52          19          19

Rhys Perry (2):
  nv50/ir: handle SHLADD in IndirectPropagation
  nv50/ir: move LateAlgebraicOpt back to right after ConstantFolding

 src/gallium/drivers/nouveau/codegen/nv50_ir_peephole.cpp | 14 +++++++++++++-
 1 file changed, 13 insertions(+), 1 deletion(-)

-- 
2.14.4



More information about the mesa-dev mailing list