RFR: 8354242: VectorAPI: combine vector not operation with compare [v5]

erifan duke at openjdk.org
Fri May 9 09:40:55 UTC 2025


On Thu, 8 May 2025 01:49:45 GMT, Xiaohong Gong <xgong at openjdk.org> wrote:

>> Yes, that's the right approach. For this PR, I think you can mix some test points covering compare, xor(maskAll(true)).
>
> Yes, converting `VectorMask.fromLong(SPECIES, -1L)` to `MaskAll()` would be better, and that will benefit AArch64 as well, since `MaskAll()` is much more cheaper than `fromLong()` on AArch64. We can add such a transformation with another PR.

Ok, I'll extend the test to xor(maskAll(true) in the next commit, thanks!

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

PR Review Comment: https://git.openjdk.org/jdk/pull/24674#discussion_r2081313613


More information about the core-libs-dev mailing list