RFR: 8324124: RISC-V: implement _vectorizedMismatch intrinsic

Yuri Gaevsky duke at openjdk.org
Mon May 6 08:52:57 UTC 2024


On Fri, 3 May 2024 18:58:55 GMT, Ludovic Henry <luhenry at openjdk.org> wrote:

>>> Hi, Do you have plan to implement instrinsic `VectorCmpMasked`? It's part of `vectorizedMismatch`
>> 
>> Hi @Hamlin-Li,
>> 
>> I don't have such plan for the moment. Why do you think it should be a part of `_vectorizedMismatch` intrinsic? The similar [fix](https://github.com/openjdk/jdk/commit/b05c40ca3b5fd34cbbc7a9479b108a4ff2c099f1?diff=split&w=0) for X64 ([JDK-8266951](https://bugs.openjdk.org/browse/JDK-8266951)) looks like natural enhancement/followup for the original intrinsic functionality.
>
> @ygaevsky the `VectorCmpMasked` is to support partial inlining for small arrays: https://github.com/openjdk/jdk/blob/b33096f887108c3d7e1f4e62689c2b10401234fa/src/hotspot/share/opto/library_call.cpp#L6372-L6411
> 
> It very much complements this intrinsic and allows it to focus on larger arrays.

@luhenry: I fully agree that we need `VectorCmpMasked` but I just want to understand why it couldn't be implemented as follow-up (similarly to x64).

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

PR Comment: https://git.openjdk.org/jdk/pull/17750#issuecomment-2095483470


More information about the hotspot-dev mailing list