RFR: 8357554: Enable vectorization of Bool -> CMove with different type size (on riscv)

Emanuel Peter epeter at openjdk.org
Tue Jun 3 13:05:51 UTC 2025


On Tue, 3 Jun 2025 11:23:47 GMT, Hamlin Li <mli at openjdk.org> wrote:

> Seems currently the unsigned comparison is not supported for superword vectorization?

I think that currently only `float` and `doulbe` for CMove is really implemented. Integer types are still to be added, see [JDK-8308841](https://bugs.openjdk.org/browse/JDK-8308841)
C2 SuperWord: implement vectorization of integer CMove
I hope we get to it soon, and then we can generally extend the combinations too. Like comparing `int`, but blending between `double`.

Maybe it would be better if for now you focus just on the `D/F` cases that are already supported on x86 and aarch64?

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

PR Review Comment: https://git.openjdk.org/jdk/pull/25336#discussion_r2123751783


More information about the hotspot-compiler-dev mailing list