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

Juha-Pekka Heikkila juhapekka.heikkila at gmail.com
Thu Apr 23 03:46:06 PDT 2015


On 22.04.2015 20:14, Matt Turner wrote:
> On Fri, Apr 17, 2015 at 1:56 PM, Matt Turner <mattst88 at gmail.com> wrote:
>> 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
> 
> Ping.

Patch look ok to me.

Reviewed-by: Juha-Pekka Heikkila <juhapekka.heikkila at gmail.com>





More information about the mesa-dev mailing list