On Thu, 23 Feb 2023 16:48:30 GMT, Maurizio Cimadamore <mcimadam...@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