[Mesa-dev] [RFC PATCH 1/2] glsl: Transform pow(x, 4) into (x*x)*(x*x).

Matt Turner mattst88 at gmail.com
Fri Apr 17 13:56:45 PDT 2015


Updated numbers look a lot better!

On Tue, Mar 17, 2015 at 4:23 PM, Matt Turner <mattst88 at gmail.com> wrote:
> Without NIR:
>
> total instructions in shared programs: 6190374 -> 6190153 (-0.00%)
> instructions in affected programs:     61126 -> 60905 (-0.36%)
> helped:                                156

total instructions in shared programs: 6191351 -> 6191130 (-0.00%)
instructions in affected programs:     61032 -> 60811 (-0.36%)
helped:                                156

> With NIR:
>
> total instructions in shared programs: 6271584 -> 6271471 (-0.00%)
> instructions in affected programs:     47656 -> 47543 (-0.24%)
> helped:                                113
> GAINED:                                4
> LOST:                                  41

total instructions in shared programs: 6099580 -> 6099443 (-0.00%)
instructions in affected programs:     47526 -> 47389 (-0.29%)
helped:                                137


More information about the mesa-dev mailing list