RFR: 8352675: Support Intel AVX10 converged vector ISA feature detection [v3]

Jatin Bhateja jbhateja at openjdk.org
Thu Apr 10 02:33:31 UTC 2025


On Wed, 9 Apr 2025 19:25:12 GMT, Vladimir Ivanov <vlivanov at openjdk.org> wrote:

>> Jatin Bhateja has refreshed the contents of this pull request, and previous commits have been removed. The incremental views will show differences compared to the previous content of the PR. The pull request contains one new commit since the last revision:
>> 
>>   8352675: Support Intel AVX10 converged vector ISA feature detection
>
> src/hotspot/cpu/x86/vm_version_x86.cpp line 895:
> 
>> 893:     _features = _cpuid_info.feature_flags(); // These can be changed by VM settings
>> 894:     _extra_features = _cpuid_info.extra_feature_flags(); // These can be changed by VM settings
>> 895:     _cpu_features = _features;   // Preserve features
> 
> `_cpu_features` now captures only part of CPU features JVM cares about.

It has limited usage and was introduced by JDK-8324734, the comment over it mentions
+  // Feature identification not affected by VM flags
https://github.com/openjdk/jdk/pull/17590#issuecomment-1912689152

It's not even captured by JVMCI 
https://github.com/openjdk/jdk/blob/master/src/hotspot/share/jvmci/vmStructs_jvmci.cpp#L149

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

PR Review Comment: https://git.openjdk.org/jdk/pull/24329#discussion_r2036394043


More information about the hotspot-compiler-dev mailing list