From 4810c14b5d636e758660a7cae931fa82071b86eb Mon Sep 17 00:00:00 2001 From: Florian Krohm Date: Wed, 23 Jul 2025 20:20:54 +0000 Subject: [PATCH] tests/x86_amd_features.c: also recognise GenuineIntel Enables running certain testcases on hardware that identifies itself as "GenuineIntel". --- tests/x86_amd64_features.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/x86_amd64_features.c b/tests/x86_amd64_features.c index 488f155b64..5a95e06df3 100644 --- a/tests/x86_amd64_features.c +++ b/tests/x86_amd64_features.c @@ -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 -- 2.47.2