[Lazarus] UTF8LengthFast returning incorrect results on AARCH64 (MacOS)

Bart bartjunk64 at gmail.com
Tue Dec 28 15:01:50 CET 2021

On Tue, Dec 28, 2021 at 2:46 PM Marco van de Voort via lazarus
<lazarus at 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?


More information about the lazarus mailing list