[vectorIntrinsics] RFR: 8263149: Adding some algorithms optimized by Vector API into JMH benc…

Joshua Zhu jzhu at openjdk.java.net
Wed Mar 10 06:16:11 UTC 2021


On Tue, 9 Mar 2021 03:39:06 GMT, Xiaohong Gong <xgong at openjdk.org> wrote:

> Is it possible to init random boolean values here?

In real scenario, all true in this case happens in high probability.
> Always true might make it possible to make compiler optimize out the "if (!bitsArray[filterPos])" in the scalar version?

No. Will not be optimized out.

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

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


More information about the panama-dev mailing list