Re: [Mesa-dev] [PATCH] nv50/ir: optimize SUB(a, b) to MOV(a - b)

2016-09-18 Thread Ilia Mirkin
Reviewed-by: Ilia Mirkin On Sun, Sep 18, 2016 at 6:33 AM, Samuel Pitoiset wrote: > This helps shaders in UE4 demos, especially with Elemental > (+1% perf). This optimization reduces spilling usage in one > shader which explains the little gain. >

[Mesa-dev] [PATCH] nv50/ir: optimize SUB(a, b) to MOV(a - b)

2016-09-18 Thread Samuel Pitoiset
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