[vectorIntrinsics] RFR: 8282915: Add new vector operation for reverse bits operation

Jatin Bhateja jbhateja at openjdk.java.net
Thu Mar 10 12:18:08 UTC 2022


On Thu, 10 Mar 2022 01:09:00 GMT, Smita Kamath <svkamath at openjdk.org> wrote:

> Hi,
> 
> I've added support for new vector operations for reversing bits of integral vector types(Byte/Short/Integer/Long).
> Currently, this PR addresses only Java changes for reverse operation. I've also updated the test framework.
> Do review and share feedback.

Can we introduce special handling for 0 and -1 value ? in this case Java side fallback implementation can simply return the original argument.
Apart from above and spacing comments patch looks good to me.

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

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


More information about the panama-dev mailing list