-
Type:
Enhancement
-
Resolution: Fixed
-
Priority:
P4
-
Affects Version/s: 25, 26
-
Component/s: hotspot
-
b18
-
riscv
-
linux
| Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
|---|---|---|---|---|---|---|
| JDK-8369245 | 25.0.2 | Dingli Zhang | P4 | Resolved | Fixed | b01 |
According to the latest RISC-V linux hardware probing syscall [1], the performance of misaligned memory accesses has been divided into two cases: `RISCV_HWPROBE_KEY_MISALIGNED_SCALAR_PERF` and `RISCV_HWPROBE_KEY_MISALIGNED_VECTOR_PERF` for scalar and vector respectively.
This aligns `AlignVector` with `RISCV_HWPROBE_KEY_MISALIGNED_VECTOR_PERF`. That is if the misaligned vector access is fast, we set `AlignVector` to false in the hope that it will save instructions handling address alignment thus improves performance.
This aligns `AlignVector` with `RISCV_HWPROBE_KEY_MISALIGNED_VECTOR_PERF`. That is if the misaligned vector access is fast, we set `AlignVector` to false in the hope that it will save instructions handling address alignment thus improves performance.
- backported by
-
JDK-8369245 RISC-V: Detect support for misaligned vector access via hwprobe
-
- Resolved
-
- relates to
-
JDK-8368722 Vector API intrinsics enabled wrongly on platforms without support for misaligned vector access
-
- Open
-
- links to
-
Commit(master)
openjdk/jdk25u/66de4b41
-
Commit(master)
openjdk/jdk/538a722c
-
Review(master)
openjdk/jdk25u/252
-
Review(master)
openjdk/jdk/27512
(1 links to)