[flac-dev] 1.21 vs 1.3 encoding speed

Erik de Castro Lopo
Sun, 27 Jul 2014 00:31:09 -0000

lvqcl wrote:

> After stripping: the binary is smaller than previously (520kB vs 652kB).
>
> Probably that's because the compiler now uses -O2: according to
> <https://gcc.gnu.org/onlinedocs/gcc-4.9.1/gcc/Optimize-Options.html>
> "If you use multiple -O options, with or without level numbers,
> the last such option is the one that is effective" which means that
> GCC doesn't try to use SIMD to vectorize the code, etc.

I've just push a fix that strips out existing "-O2 -g" before
applying
the what we want. Please test.

Cheers,
Erik
--
----------------------------------------------------------------------
Erik de Castro Lopo