RFR: 8303040: linux PPC64le: Implementation of Foreign Function & Memory API (Preview) [v2]
Jorn Vernee
jvernee at openjdk.org
Thu Feb 23 17:14:37 UTC 2023
On Thu, 23 Feb 2023 16:48:30 GMT, Maurizio Cimadamore <mcimadamore at openjdk.org> wrote:
> I meant generating extsw when emitting the stub (since when we emit the stub we can see the bindings). But I suppose the problem there is that the VM only sees low level bindings such as moves, it doesn't see bindings such as casts.
Oh, sorry, I see what you mean now. But yeah, the VM stub only handles moves, and I think we want to keep it that way (for reasons outlined). The VM stub can be viewed as a low-level primitive that accepts a set of register/stack values, and moves them into the corresponding locations. It's not really supposed to be doing any kind of processing of the values it receives or returns.
-------------
PR: https://git.openjdk.org/jdk/pull/12708
More information about the core-libs-dev
mailing list