RFR: 8324124: RISC-V: implement _vectorizedMismatch intrinsic

Ludovic Henry luhenry at openjdk.org
Fri May 3 19:01:55 UTC 2024


On Wed, 1 May 2024 14:58:58 GMT, Yuri Gaevsky <duke at openjdk.org> wrote:

>> Hi, Do you have plan to implement instrinsic `VectorCmpMasked`? It's part of `vectorizedMismatch`
>
>> 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.

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

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


More information about the hotspot-dev mailing list