[Mesa-dev] [PATCH] glsl: optimize list handling in opt_dead_code

Jan Ziak 0xe2.0x9a.0x9b at gmail.com
Tue Oct 18 13:07:28 UTC 2016

On Tue Oct 18 09:29:59 UTC 2016, Eero Tamminen wrote:
> On 18.10.2016 01:07, Jan Ziak wrote:
>> - The total number of executed instructions goes down from 64.184 to 63.797
>>   giga-instructions when Mesa is compiled with "gcc -O0 ..."
>Please don't do performance related decisions based on data from
>compiling code with optimizations disabled.  Use -O2 or -O3 (or even
>better, check both).

Options -O2 and -O3 interfere with profiling tools.

I will try using -Og the next time.

More information about the mesa-dev mailing list