[foreign-memaccess+abi] Integrated: 8255902: Enable stack arguments for native invokers & optimized upcall stubs
Jorn Vernee
jvernee at openjdk.java.net
Wed Oct 20 15:12:29 UTC 2021
On Mon, 18 Oct 2021 10:27:09 GMT, Jorn Vernee <jvernee at openjdk.org> wrote:
> Hi,
>
> This patch implements stack argument support in native invokers & optimized upcalls stubs.
>
> The main changes needed are:
> - allow passing a stack offset 'bias' to shuffling code in macro assembler, so that it can account for shadow space (only needed on x86_64 for now).
> - implement missing stack to reg & reg to stack moves for float and double on AArch64
> - add TestDowncallStack & TestUpcallStack, which are basically the same as TestDowncall & TestUpcall, but with 8 `long long` and 8 `double` prefix arguments which saturate the argument registers and makes the arguments that are being tested passed on the stack instead.
>
> Thanks,
> Jorn
This pull request has now been integrated.
Changeset: b8d4b8a4
Author: Jorn Vernee <jvernee at openjdk.org>
URL: https://git.openjdk.java.net/panama-foreign/commit/b8d4b8a47a9212d1958ccd7d8a611412a6a7b5bf
Stats: 24478 lines in 17 files changed: 24359 ins; 19 del; 100 mod
8255902: Enable stack arguments for native invokers & optimized upcall stubs
Reviewed-by: mcimadamore
-------------
PR: https://git.openjdk.java.net/panama-foreign/pull/600
More information about the panama-dev
mailing list