From: Florian K. <fk...@so...> - 2025-07-23 20:23:21
|
https://sourceware.org/cgit/valgrind/commit/?id=4810c14b5d636e758660a7cae931fa82071b86eb commit 4810c14b5d636e758660a7cae931fa82071b86eb Author: Florian Krohm <fl...@ei...> Date: Wed Jul 23 20:20:54 2025 +0000 tests/x86_amd_features.c: also recognise GenuineIntel Enables running certain testcases on hardware that identifies itself as "GenuineIntel". Diff: --- 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 |