Re: AVX-512 for LAME: code to try, if you have the hardware

Alexander Leidinger via Lame-dev <[email protected]> Thu, 30 Jul 2026 14:14:01 +0200
Newsgroups gmane.comp.audio.mp3.lame
Organization No organization, this is a private message.
Message-ID <[email protected]>
Am 2026-07-28 22:42, schrieb Elio Blanca:
> Il giorno Tue, 28 Jul 2026 11:58:16 +0200
> Alexander Leidinger <[email protected]> ha scritto:
> 
>> 1) Which of the two builds did you time?
> 
> it is stage 2
> 
> 
>> 2) [...] Could you repeat it with the two swapped:
> 
> Sure: I made again a full cycle for cbr and then for vbr.
> Here are the command line results:

Thanks a lot!

This settles it. AVX512 is beneficial for CBR only, and only on Intel 
hardware. For ZEN it is around 1% slower than AVX2, but I'm willing to 
trade that in against a vendor specific tuning (still faster than the 
SSE2 version).

Bye,
Alexander.

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