On Tue, Dec 28, 2021 at 2:46 PM Marco van de Voort via lazarus
<lazarus@lists.lazarus-ide.org> wrote:


> You need an appropriate minimal CPU with -Cp
>
>
> Try e.g. -Cpcoreavx  for core 3000 series and higher

Thanks for that.

Up to PENTIUMM: PopCnt slower
COREI : approximately equally fast
COREAVX PopCnt slightly faster
COREAVX2 PopCnt slightly faster

Most likely not worth bothering.
In code can we check (at compile time) for which instructionset the
code was compiled?

-- 
Bart
-- 
_______________________________________________
lazarus mailing list
lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus

Reply via email to