tests/x86_amd_features.c: also recognise GenuineIntel

Enables running certain testcases on hardware that identifies itself
as "GenuineIntel".
This commit is contained in:
Florian Krohm
2025-07-23 20:20:54 +00:00
parent 2228bc1ce2
commit 4810c14b5d

View File

@@ -148,7 +148,8 @@ static Bool go(char* cpu)
assert( !(cmask != 0 && dmask != 0 && bmask != 0) );
assert( !(cmask == 0 && dmask == 0 && bmask == 0) );
if (require_amd && !vendorStringEquals("AuthenticAMD"))
if (require_amd && !vendorStringEquals("AuthenticAMD") &&
!vendorStringEquals("GenuineIntel"))
return FEATURE_NOT_PRESENT;
// regardless of what that feature actually is