[vectorIntrinsics] RFR: 8282389: Add new vector operations to count leading and trailing zeros.

Eric Liu eliu at openjdk.java.net
Mon Feb 28 09:09:07 UTC 2022


On Fri, 25 Feb 2022 18:59:34 GMT, Swati Sharma <duke at openjdk.java.net> wrote:

> Hi All,
> 
> Added support for new vector operations CLZ (count number of leading zeros) and CTZ (could number of trailing zeros) for all the integral vector types(Byte/Short/Integer/Long).
> Added validation and performance tests corresponding the these operations in existing VectorAPI JTREG/JMH suite.
> 
> Kindly review and share your feedback.
> 
> Thanks and Regards,
> Swati Sharma
> Intel

src/jdk.incubator.vector/share/classes/jdk/incubator/vector/DoubleVector.java line 1632:

> 1630: 
> 1631: 
> 1632: 

Please remove these lines.

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

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


More information about the panama-dev mailing list