[Mesa-dev] [PATCH 1/2] mesa: break up _mesa_swizzle_and_convert() to reduce compile time

Dieter Nützel Dieter at nuetzel-hh.de
Sun Sep 14 16:52:01 PDT 2014


Am 13.09.2014 15:16, schrieb Brian Paul:
> On 09/12/2014 03:58 PM, Jason Ekstrand wrote:
>> Ok, so I actually applied the patch and benchmarked it.  It seems to
>> have improved performance in a lot of cases that were mysteriously
>> slow!  It looks like breaking it up freed up GCC to optimize the 
>> inside
>> better.
> 
> Nice.  I'm about to fire off a piglit run now.  If there's no
> regressions I'll push them on Monday.
> 
> -Brian

Wow!

With my flags: -O2, etc. (see former post)

before:
11:35.xx (eleven minutes, 35 seconds)

down too:
1:51.xx (1 minute, 51 seconds) + stripped binary is 8k smaller

GREAT!

Thanks,
Dieter


More information about the mesa-dev mailing list