[External] : Re: Re: Panama-FFI API Porting for RISCV64

jiangfeilong jiangfeilong at huawei.com
Thu Jan 5 02:18:49 UTC 2023


Hi, we have rebased PR 10872 and 11019, FFM API RISC-V port [1] is ready for review.

> What you have now is also a possibility, but if you want to avoid
> modifying shared code it seems simpler to use different segment masks
> for the return storages, and then select the instruction based on that.

Select instructions by segment mask of return storages can address this issue,
but we would like to initialize the return buffer with all 1s, which is simpler to
implement. We can refactor our implementation as needed when CAST binding
can handle that case.


Feilong

[1]: https://github.com/openjdk/jdk/pull/11004

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/panama-dev/attachments/20230105/47586fe7/attachment.htm>


More information about the panama-dev mailing list