We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4201191 commit b369de6Copy full SHA for b369de6
src/hotspot/cpu/x86/vm_version_x86.hpp
@@ -774,8 +774,15 @@ class VM_Version : public Abstract_VM_Version {
774
static bool cpu_supports_evex() { return (_cpu_features & CPU_AVX512F) != 0; }
775
776
static bool supports_avx512_simd_sort() {
777
- // Disable AVX512 version of SIMD Sort on AMD Zen4 Processors
778
- return ((is_intel() || (is_amd() && (cpu_family() > CPU_FAMILY_AMD_19H))) && supports_avx512dq()); }
+ if (supports_avx512dq()) {
+ // Disable AVX512 version of SIMD Sort on AMD Zen4 Processors.
779
+ if (is_amd() && cpu_family() == CPU_FAMILY_AMD_19H) {
780
+ return false;
781
+ }
782
+ return true;
783
784
785
786
787
// Intel features
788
static bool is_intel_family_core() { return is_intel() &&
0 commit comments