[vectorIntrinsics] RFR: 8283598: [vectorapi] Add new vector operation for compress and expand bits

Sandhya Viswanathan sviswanathan at openjdk.java.net
Tue Apr 12 19:15:15 UTC 2022


On Tue, 12 Apr 2022 18:59:28 GMT, Jatin Bhateja <jbhateja at openjdk.org> wrote:

>> @smita-kamath Please update the summary at the top of the PR to reflect the latest:
>>    1. Both compress and expand are implemented
>>    2. Support for only int/long vectors
>> Also it will be good to update the title of JDK-8283598 to reflect that expand is also implemented as part of this PR.
>
>> @smita-kamath Please update the summary at the top of the PR to reflect the latest:
>> 
>> 1. Both compress and expand are implemented
>> 2. Support for only int/long vectors
>>    Also it will be good to update the title of JDK-8283598 to reflect that expand is also implemented as part of this PR.
> 
> @sviswa7 , any specific reason to drop byte/short versions for these APIs

@jatin-bhateja byte/short support for compress/expand were dropped from Vector API on advice from Paul Sandoz.
@smita-kamath Please bring in code from Paul's PR https://git.openjdk.java.net/jdk/pull/8115 and use Integer and Long compress expand.

-------------

PR: https://git.openjdk.java.net/panama-vector/pull/184


More information about the panama-dev mailing list