RFR: 8307795: AArch64: Optimize VectorMask.truecount() on Neon

Chang Peng duke at openjdk.org
Mon May 15 10:06:47 UTC 2023


On Mon, 15 May 2023 08:57:30 GMT, Andrew Haley <aph at openjdk.org> wrote:

> This looks like it might be removed by loop opts. I think you might need a blackhole somewhere.

```m``` will be updated in every iteration of this loop, so ```m``` is not a loop-invariants actually.
I can see the assembly code of this loop by using JMH perfasm.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/13974#discussion_r1193618375


More information about the core-libs-dev mailing list