Variadic Function Support for the Windows ARM64 ABI

Saint Wesonga Saint.Wesonga at microsoft.com
Wed Oct 5 02:30:12 UTC 2022


Hello,

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 per https://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 into https://github.com/openjdk/panama-foreign be the appropriate way to do so?

Thanks,
-Saint Wesonga
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/panama-dev/attachments/20221005/62eb15cd/attachment-0001.htm>


More information about the panama-dev mailing list