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

Marco van de Voort fpc at pascalprogramming.org
Tue Dec 28 14:45:56 CET 2021

Op 12/28/2021 om 1:53 PM schreef Bart via lazarus:
> I just tested PopCnt vs Multiplication on win32 and win64.
> The version with PopCnt is appr. 3 times slower on both 32 and 64 bit!

You need an appropriate minimal CPU with -Cp

Try e.g. -Cpcoreavx  for core 3000 series and higher

More information about the lazarus mailing list