[jdk18] RFR: 8278508: Enable X86 maskAll instruction pattern for 32 bit JVM.

Vladimir Kozlov kvn at openjdk.java.net
Tue Dec 14 19:35:38 UTC 2021


On Tue, 14 Dec 2021 19:18:47 GMT, Jatin Bhateja <jbhateja at openjdk.org> wrote:

> - Vector.maskAll was accelerated for AVX-512 target, but  x86 existing backend implementation does not enable maskAll instruction patterns for 32 bit JVM, due to which operations fall backs over replicateB operation which broadcasts the mask value in a vector.
> - In some cases after unboxing-boxing optimization this vector eventually reaches to XorVMask which has different operands one held in opmask register and other in vector.
> 
> Kindly review and share your feedback.
> 
> Best Regards,
> Jatin

Seems reasonable. Let me test it.

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

PR: https://git.openjdk.java.net/jdk18/pull/24


More information about the hotspot-compiler-dev mailing list