RFR: 8355239: RISC-V: Do not support subword scatter store

Feilong Jiang fjiang at openjdk.org
Tue Apr 22 13:54:43 UTC 2025


On Tue, 22 Apr 2025 02:47:02 GMT, Fei Yang <fyang at openjdk.org> wrote:

> Hi, please consider this small enhancement change.
> 
> Currently, only word and double-word gather load and scatter store are supported on riscv.
> Both subword gather load and scatter store are not supported due to constraint of riscv vector extension.
> [JDK-8331150](https://bugs.openjdk.org/browse/JDK-8331150) makes this constraint explicit for subword gather load.
> For parity and consistency, this also makes it explicit for subword scatter store as well.
> 
> Testing: `jdk_vector` tested with QEMU vector extension.

Looks good!

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

Marked as reviewed by fjiang (Committer).

PR Review: https://git.openjdk.org/jdk/pull/24787#pullrequestreview-2784200964


More information about the hotspot-compiler-dev mailing list