Re: AVX512 code now committed, some more testing needed

Alexander Leidinger via Lame-dev <[email protected]> Tue, 04 Aug 2026 19:28:54 +0200
Newsgroups gmane.comp.audio.mp3.lame
Organization No organization, this is a private message.
Message-ID <[email protected]>
Am 2026-07-30 22:27, schrieb Alexander Leidinger via Lame-dev:
> Hi,
> 
> due to an oversight in the code, some of the AVX512 code was not 
> tested. This may make a difference for both CBR and VBR. Could you 
> please re-run some tests with the most revent code in SVN (at least 
> r6720)?

One more testing please (set the IN variable below to your audio file).

Build from SVN ***r6751*** or later, then:

   export LD_LIBRARY_PATH=$PWD/libmp3lame/.libs
   IN=/path/to/audio_10m.wav
   L=$PWD/frontend/lame

   taskset -c 2 hyperfine --warmup 1 --runs 25 --style basic \
     --export-json fwd-V2.json \
     -n "avx2 -V 2" \
       "$L -S --vector avx2 -V 2 $IN /dev/null" \
     -n "avx512 -V 2" \
       "$L -S --vector avx512 -V 2 $IN /dev/null" \
     -n "avx512+table -V 2" \
       "env LAME_AVX512_CHOOSE_TABLE=1 $L -S --vector avx512 -V 2 $IN 
/dev/null" \
     -n "avx512+both -V 2" \
       "env LAME_AVX512_CHOOSE_TABLE=1 LAME_AVX512_SFB_NOISE=1 $L -S 
--vector avx512 -V 2 $IN /dev/null"

   taskset -c 2 hyperfine --warmup 1 --runs 25 --style basic \
     --export-json rev-V2.json \
     -n "avx512+both -V 2" \
       "env LAME_AVX512_CHOOSE_TABLE=1 LAME_AVX512_SFB_NOISE=1 $L -S 
--vector avx512 -V 2 $IN /dev/null" \
     -n "avx512+table -V 2" \
       "env LAME_AVX512_CHOOSE_TABLE=1 $L -S --vector avx512 -V 2 $IN 
/dev/null" \
     -n "avx512 -V 2" \
       "$L -S --vector avx512 -V 2 $IN /dev/null" \
     -n "avx2 -V 2" \
       "$L -S --vector avx2 -V 2 $IN /dev/null"

Same file as last time, mains power, an otherwise quiet system and the 
two JSON exports are all I need back.

Thanks!
Alexander.

-- 
http://www.Leidinger.net [email protected]: PGP 0x8F31830F9F2772BF
http://www.FreeBSD.org    [email protected]  : PGP 0x8F31830F9F2772BF