[flac-dev] FLAC__BYTES_PER_WORD==8 test results

lvqcl lvqcl.mail at gmail.com
Tue Dec 29 08:10:44 PST 2015


I wrote a patch that enables FLAC__BYTES_PER_WORD==8 in
libFLAC/bitreader.c and libFLAC\bitwriter.c.
The tests were done on an Intel Nehalem CPU, and flac was compiled
with CGG 4.9.x.


Average speed increase for FLAC__BYTES_PER_WORD change from 4 to 8:

Decoding speed:
     ia32 architecture
         16-bit .flac: -15%
         24-bit .flac: -11%
     x86-64 architecture
         16-bit .flac: +3%
         24-bit .flac: -0.6%

Encoding speed (only fastest presets (-0...-5) were tested):
     ia32 architecture
         16-bit .wav: +0.6%
         24-bit .wav: +3%
     x86-64 architecture
         16-bit .wav: +6%
         24-bit .wav: +7%


More information about the flac-dev mailing list