Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-devel / 2022-01

Is the ARM/AArch64 optimisation okay now?

1 message · 1 person ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

J. Gareth Moreton

Hey everyone,

I uploaded a merge request for ARMv7A and AArch64 a while back. I'm just wondering if it's okay now.

https://gitlab.com/freepascal.org/fpc/source/-/merge_requests/104

To explain, because the optimisation requires a specific version of ARM to work (it always works under AArch64), I erroneously checked the processor type directly instead of creating a new feature flag.  This has since been resolved.

I intend to use the new feature flag for future optimisations, specifically in constant generation (it indicates the presence of "movw" and "movt" instructions that permit the direct creation of all 32-bit constants and not just those that can be encoded in ARM's barrel shifter
- constants that can't be encoded as such have to be loaded in from a data segment).  It can also probably find use in some specific optimisations where the upper 16 bits are written to (movt) while the lower 16 bits are preserved.

Gareth aka. Kit

This email has been checked for viruses by Avast antivirus software. https://www.avast.com/antivirus

Reply by email