[foreign-memaccess+abi] RFR: 8275584: Incorrect stack spilling in CallArranger on MacOS/AArch64 [v3]

Jorn Vernee jvernee at openjdk.org
Wed Oct 26 12:51:51 UTC 2022


On Tue, 25 Oct 2022 08:43:00 GMT, Nick Gasson <ngasson at openjdk.org> wrote:

>> This patch adds special handling for argument spilling on M1 Mac which does not follow the standard AArch64.  In the standard ABI arguments are first extended to the full 64-bit register width and then spilled but on macOS the arguments are spilled according to their original width and packed using theior natural.  @JornVernee  did most of the work to support this but there were a few issues remaining related to structspilling which I've fixed up in the last commit here.
>
> Nick Gasson has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Refactor stackAlloc

I think you're good to go :)

-------------

PR: https://git.openjdk.org/panama-foreign/pull/746


More information about the panama-dev mailing list