[Lazarus] UTF8LengthFast returning incorrect results on AARCH64 (MacOS)
Bart
bartjunk64 at gmail.com
Tue Dec 28 12:41:43 CET 2021
On Tue, Dec 28, 2021 at 11:52 AM Juha Manninen via lazarus
<lazarus at lists.lazarus-ide.org> wrote:
> Can you please create a patch for UTFLengthFast. You can upload it here or create a merge request in GitLab or anything.
@Juha: can you please comment on my possible improvement using PopCnt
instead of a multiplication with ONEMASK.
I will patch the function using unsigned types where applicable.
I will keep the loop variables unsigned though.
--
Bart
More information about the lazarus
mailing list