summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/svga/svga_mksstats.h
diff options
context:
space:
mode:
authorSamuel Pitoiset <[email protected]>2016-09-18 12:33:12 +0200
committerSamuel Pitoiset <[email protected]>2016-09-18 16:42:39 +0200
commit557a29b51fa3324cfbeecff100a54c7c6a6d87cd (patch)
treeced4f6588b2248781fe8ac18773b3c5e192d8e85 /src/gallium/drivers/svga/svga_mksstats.h
parentd8b4f5fcca2ce299b8ef248b6f57896c7b85d18c (diff)
nv50/ir: optimize SUB(a, b) to MOV(a - b)
This helps shaders in UE4 demos, especially with Elemental (+1% perf). This optimization reduces spilling usage in one shader which explains the little gain. GF100/GK104: total instructions in shared programs :2838551 -> 2838045 (-0.02%) total gprs used in shared programs :396706 -> 396684 (-0.01%) total local used in shared programs :34432 -> 34416 (-0.05%) local gpr inst bytes helped 1 19 112 112 hurt 0 0 0 0 Signed-off-by: Samuel Pitoiset <[email protected]> Reviewed-by: Ilia Mirkin <[email protected]>
Diffstat (limited to 'src/gallium/drivers/svga/svga_mksstats.h')
0 files changed, 0 insertions, 0 deletions