RFR: 8368977: Provide clear naming for AVX10 identifiers

Mohamed Issa missa at openjdk.org
Mon Nov 24 23:18:54 UTC 2025


This is a simple change that renames all AVX10 identifiers to explicitly show which sub-versions are in use. Right now, only AVX10.2 is the only case to worry about. The JTREG tests listed below were used to verify correctness with the recommended JVM options mentioned in corresponding source files. Each test included runs through emulation with AVX10.2 enabled and disabled to exercise all possible paths. All modifications and tests used [OpenJDK v26-b24](https://github.com/openjdk/jdk/releases/tag/jdk-26%2B24) as the baseline build.

1. `jtreg:test/hotspot/jtreg/compiler/codegen/TestByteDoubleVect.java`
2. `jtreg:test/hotspot/jtreg/compiler/codegen/TestByteFloatVect.java`
3. `jtreg:test/hotspot/jtreg/compiler/codegen/TestIntDoubleVect.java`
4. `jtreg:test/hotspot/jtreg/compiler/codegen/TestIntFloatVect.java`
5. `jtreg:test/hotspot/jtreg/compiler/codegen/TestLongDoubleVect.java`
6. `jtreg:test/hotspot/jtreg/compiler/codegen/TestLongFloatVect.java`
7. `jtreg:test/hotspot/jtreg/compiler/codegen/TestShortDoubleVect.java`
8. `jtreg:test/hotspot/jtreg/compiler/codegen/TestShortFloatVect.java`
9. `jtreg:test/hotspot/jtreg/compiler/floatingpoint/ScalarFPtoIntCastTest.java`
10. `jtreg:test/hotspot/jtreg/compiler/vectorapi/VectorFPtoIntCastTest.java`
11. `jtreg:test/hotspot/jtreg/compiler/vectorization/runner/ArrayTypeConvertTest.java`
12. `jtreg:test/jdk/jdk/incubator/vector/Double64VectorTests.java`
13. `jtreg:test/jdk/jdk/incubator/vector/Double128VectorTests.java`
14. `jtreg:test/jdk/jdk/incubator/vector/Double256VectorTests.java`
15. `jtreg:test/jdk/jdk/incubator/vector/Double512VectorTests.java`
16. `jtreg:test/jdk/jdk/incubator/vector/DoubleMaxVectorTests.java`
17. `jtreg:test/jdk/jdk/incubator/vector/Float64VectorTests.java`
18. `jtreg:test/jdk/jdk/incubator/vector/Float128VectorTests.java`
19. `jtreg:test/jdk/jdk/incubator/vector/Float256VectorTests.java`
20. `jtreg:test/jdk/jdk/incubator/vector/Float512VectorTests.java`
21. `jtreg:test/jdk/jdk/incubator/vector/FloatMaxVectorTests.java`
22. `jtreg:test/hotspot/jtreg/compiler/vectorization/TestFloat16VectorOperations.java`
23. `jtreg:test/hotspot/jtreg/compiler/c2/irTests/TestFloat16ScalarOperations.java`

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

Commit messages:
 - Fix naming issue in vector floating point cast test file
 - Rename AVX10 identifiers to AVX10_2 and use AVX10.2 in template table conversion whenever available

Changes: https://git.openjdk.org/jdk/pull/28344/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=28344&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8368977
  Stats: 134 lines in 10 files changed: 16 ins; 0 del; 118 mod
  Patch: https://git.openjdk.org/jdk/pull/28344.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/28344/head:pull/28344

PR: https://git.openjdk.org/jdk/pull/28344


More information about the hotspot-dev mailing list