On Thu, 23 Feb 2023 16:48:30 GMT, Maurizio Cimadamore
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 c
On Thu, 23 Feb 2023 15:02:48 GMT, Jorn Vernee wrote:
> > > Correct, `extsw` performs a `I2L` conversion. I had thought about this
> > > already, but I think my current implementation is more efficient as it
> > > combines register moves with the 64 bit extend. Your proposal would
> > > generat
On Thu, 23 Feb 2023 10:20:31 GMT, Maurizio Cimadamore
wrote:
> > Correct, `extsw` performs a `I2L` conversion. I had thought about this
> > already, but I think my current implementation is more efficient as it
> > combines register moves with the 64 bit extend. Your proposal would
> > genera
On Thu, 23 Feb 2023 04:44:18 GMT, Martin Doerr wrote:
> > > (I'd be happy to implement the needed changes in shared code if you want,
> > > since it touches `BindingSpecializer` which is pretty dense)
> >
> >
> > FYI:
> > [master...JornVernee:jdk:I2L](https://github.com/openjdk/jdk/compare/ma
On Thu, 23 Feb 2023 04:44:18 GMT, Martin Doerr wrote:
>
> Correct, `extsw` performs a `I2L` conversion. I had thought about this
> already, but I think my current implementation is more efficient as it
> combines register moves with the 64 bit extend. Your proposal would generate
> separate e
On Thu, 23 Feb 2023 04:37:49 GMT, Martin Doerr wrote:
>> Implementation of "Foreign Function & Memory API" for linux on Power (Little
>> Endian) according to "Power Architecture 64-Bit ELF V2 ABI Specification".
>>
>> This PR does not include code for VaList support because it's supposed to
>>
On Wed, 22 Feb 2023 18:23:54 GMT, Jorn Vernee wrote:
>> Martin Doerr has updated the pull request incrementally with one additional
>> commit since the last revision:
>>
>> Clean fix for NativeMemorySegmentImpl issue with byteSize 0.
>
> src/java.base/share/classes/jdk/internal/foreign/Platfo
On Wed, 22 Feb 2023 18:31:45 GMT, Maurizio Cimadamore
wrote:
>> Martin Doerr has updated the pull request incrementally with one additional
>> commit since the last revision:
>>
>> Clean fix for NativeMemorySegmentImpl issue with byteSize 0.
>
> src/java.base/share/classes/java/lang/foreign/
> Implementation of "Foreign Function & Memory API" for linux on Power (Little
> Endian) according to "Power Architecture 64-Bit ELF V2 ABI Specification".
>
> This PR does not include code for VaList support because it's supposed to get
> removed by [JDK-8299736](https://bugs.openjdk.org/browse