RFR: 8367694: Fix jtreg test failure when Intel APX is enabled for KNL platforms [v2]
Srinivas Vamsi Parasa
sparasa at openjdk.org
Mon Sep 15 20:08:10 UTC 2025
> This goal of this PR is fix the jtreg test failure observed in compiler test: `test/hotspot/jtreg/compiler/loopopts/superword/TestDependencyOffsets.java`
>
> The test failure is occurring specifically for the tests with ids = {avx512-v064-A, avx512-v064-U, avx512-v032-A, avx512-v032-U}. These tests are run with KNL hardware features enabled (`-XX:+UseKNLSetting`).
>
> The two main causes of test failure are:
> 1. KNL does not support Intel APX. Currently, APX is not turned off when using KNL. This PR fixes this issue.
> 2. BMI2 instructions like sarxl are encoded incorrectly with `uses_vl=true` (use vector length). This PR fixes the encoding to use the correct one:`uses_vl=false`.
>
> After fixing these two bugs, `TestDependencyOffsets.java` is passing using the SDE emulator when APX is enabled.
Srinivas Vamsi Parasa has updated the pull request incrementally with one additional commit since the last revision:
change the location of APX feature check
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/27299/files
- new: https://git.openjdk.org/jdk/pull/27299/files/c795d9b0..a1ef0159
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=27299&range=01
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=27299&range=00-01
Stats: 21 lines in 1 file changed: 11 ins; 10 del; 0 mod
Patch: https://git.openjdk.org/jdk/pull/27299.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/27299/head:pull/27299
PR: https://git.openjdk.org/jdk/pull/27299
More information about the hotspot-dev
mailing list