[fpc-devel] register calling convention for Apple M1 ?

Martin Frb lazarus at mfriebe.de
Wed Feb 16 21:28:59 CET 2022


On 16/02/2022 21:21, Dmitry Boyarintsev via fpc-devel wrote:
> On Wed, Feb 16, 2022 at 3:17 PM Martin Frb via fpc-devel 
> <fpc-devel at lists.freepascal.org> wrote:
>
>     Anything similar on M1?
>
>
> should it be ARM64 calling convention?
> https://en.wikipedia.org/wiki/Calling_convention#ARM_(A64)

Possible. I have a bit of disassembly, a callstack, and a listing of 
register values  at that call. They suggest its x0 x1 and x2

I just hoped for some definite confirmation by someone who knows for sure.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-devel/attachments/20220216/20e66974/attachment.htm>


More information about the fpc-devel mailing list