Variadic Function Support for the Windows ARM64 ABI

Andrew Haley aph-open at littlepinkcloud.com
Wed Oct 5 10:02:17 UTC 2022


On 10/5/22 03:30, Saint Wesonga wrote:
> In our testing of the Foreign Function and Memory API (Preview) on Windows on ARM64, we discovered that it does not correctly support variadic functions as required by the Windows ABI. More specifically, floating point values to variadic functions need to be passed in general purpose registers on Windows for ARM64 as perhttps://learn.microsoft.com/en-us/cpp/build/arm64-windows-abi-conventions?view=msvc-170#addendum-variadic-functions. I would like to contribute a patch addressing this gap in the API. Would a PR intohttps://github.com/openjdk/panama-foreign  be the appropriate way to do so?

Yes.

-- 
Andrew Haley  (he/him)
Java Platform Lead Engineer
Red Hat UK Ltd. <https://www.redhat.com>
https://keybase.io/andrewhaley
EAC8 43EB D3EF DB98 CC77 2FAD A5CD 6035 332F A671



More information about the panama-dev mailing list