RFR: 8368732: RISC-V: Detect support for misaligned vector access via hwprobe [v5]

Fei Yang fyang at openjdk.org
Mon Sep 29 14:11:18 UTC 2025


On Mon, 29 Sep 2025 13:36:50 GMT, Hamlin Li <mli at openjdk.org> wrote:

>> Fei Yang has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   Review
>
> src/hotspot/os_cpu/linux_riscv/riscv_hwprobe.cpp line 270:
> 
>> 268:   }
>> 269: #endif
>> 270:   // RISCV_HWPROBE_KEY_CPUPERF_0 is deprecated. Keep it there for backward
> 
> Shoud `RISCV_HWPROBE_KEY_MISALIGNED_SCALAR_PERF` also be checked and enable `unaligned_scalar` here?

Yeah. I think we should. Fixed. Let me know.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/27512#discussion_r2388132030


More information about the hotspot-dev mailing list