RFR: 8353572: x86: AMD platforms miss the check for CLWB feature flag [v2]
Aleksey Shipilev
shade at openjdk.org
Wed Apr 9 09:49:01 UTC 2025
> Noticed this when doing [JDK-8353558](https://bugs.openjdk.org/browse/JDK-8353558). We only check for CLWB feature flag for Intel platforms. But AMD APM (Rev. 3.36—March 2024) tells me there is a CLWB flag in CPUID Fn0000_0007_EBX_x0 leaf as well. It is in the same place as the flag for Intel.
>
> Additional testing:
> - [x] Ad-hoc tests on Ryzen 5950X
Aleksey Shipilev has updated the pull request with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains three additional commits since the last revision:
- More feature flag commonning
- Merge branch 'master' into JDK-8353572-amd-clwb
- Fix
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/24385/files
- new: https://git.openjdk.org/jdk/pull/24385/files/eae1c04f..c9ec23c3
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=24385&range=01
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=24385&range=00-01
Stats: 22473 lines in 760 files changed: 15305 ins; 5220 del; 1948 mod
Patch: https://git.openjdk.org/jdk/pull/24385.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/24385/head:pull/24385
PR: https://git.openjdk.org/jdk/pull/24385
More information about the hotspot-dev
mailing list