8384869: C2: IR Verification Test failures on x86_64 after JDK-8383881

Reviewed-by: kvn, adinn, mbaesken
This commit is contained in:
Ashutosh Mehra 2026-05-28 13:26:58 +00:00
parent 744f6bc769
commit 2b618b4231
3 changed files with 7 additions and 1 deletions

View File

@ -2841,6 +2841,10 @@ VM_Version::VM_Features VM_Version::CpuidInfo::feature_flags() const {
// clflush_size is size in quadwords (8 bytes).
guarantee(_cpuid_info.std_cpuid1_ebx.bits.clflush_size == ICache::line_size/8, "clflush size is not supported");
// sse and sse2 are guaranteed to be present
vm_features.set_feature(CPU_SSE);
vm_features.set_feature(CPU_SSE2);
if (std_cpuid1_edx.bits.cmpxchg8 != 0)
vm_features.set_feature(CPU_CX8);
if (std_cpuid1_edx.bits.cmov != 0)

View File

@ -381,6 +381,8 @@ protected:
decl(HT, ht ) \
decl(3DNOW_PREFETCH, 3dnowpref ) /* Processor supports 3dnow prefetch and prefetchw instructions */ \
/* may not necessarily support other 3dnow instructions */ \
decl(SSE, sse ) \
decl(SSE2, sse2 ) \
decl(SSE3, sse3 ) /* SSE3 comes from cpuid 1 (ECX) */ \
decl(SSSE3, ssse3 ) \
decl(SSE4A, sse4a ) \

View File

@ -107,7 +107,7 @@ public class ClhsdbLongConstant {
// Expected value obtained from the CPU_SHA definition in vm_version_x86.hpp
checkLongValue("VM_Version::CPU_SHA ",
longConstantOutput,
31L);
33L);
}
}