[flac-dev] [Flac-dev] Git branch with compiling fixes for win32

Miroslav Lichvar mlichvar at redhat.com
Mon May 7 10:37:30 PDT 2012


On Mon, May 07, 2012 at 09:19:52PM +0400, LRN wrote:
> > In a test on a Core 2 machine with gcc-4.6.3, i686 flac build with 
> > nasm enabled is about 7% faster in decoding than without nasm.
> > x86_64 build is about 2% faster than the i686 build with nasm
> > enabled.
> > 
> Was that with -O2 or -O3?

Not sure, I didn't set CFLAGS which seems to result in using both:
-O3 -funroll-loops -Wall -W -Winline -g -O2

I think funroll-loops can be harmful, the Fedora package is compiled
with -O2 and funroll-loops is used only for the stream_encoder file
and it seems decoding is a tiny bit faster than with the git version.
Unfortunately I don't recall the details.

On Mon, May 07, 2012 at 01:23:03PM -0400, Cristian Rodríguez wrote:
> Did you build with -fprofile-generate ... then make check .. then 
> rebuild with -fprofile-use ?

No, I have not tried that.

-- 
Miroslav Lichvar


More information about the flac-dev mailing list