diff options
author | Sean Christopherson <seanjc@google.com> | 2024-10-31 07:53:33 +0300 |
---|---|---|
committer | Sean Christopherson <seanjc@google.com> | 2024-11-05 08:10:48 +0300 |
commit | 979956bc681105f34642971448c4cda048954a07 (patch) | |
tree | 4be9a5a5e4e3fdfa614feab21a4d5d9de9afa02d /tools/perf/scripts/python/gecko.py | |
parent | 5b188cc4866aaf712e896f92ac42c7802135e507 (diff) | |
download | linux-979956bc681105f34642971448c4cda048954a07.tar.xz |
KVM: selftests: Don't force -march=x86-64-v2 if it's unsupported
Force -march=x86-64-v2 to avoid SSE/AVX instructions if and only if the
uarch definition is supported by the compiler, e.g. gcc 7.5 only supports
x86-64.
Fixes: 9a400068a158 ("KVM: selftests: x86: Avoid using SSE/AVX instructions")
Cc: Vitaly Kuznetsov <vkuznets@redhat.com>
Reviewed-and-tested-by: Vitaly Kuznetsov <vkuznets@redhat.com>
Link: https://lore.kernel.org/r/20241031045333.1209195-1-seanjc@google.com
Signed-off-by: Sean Christopherson <seanjc@google.com>
Diffstat (limited to 'tools/perf/scripts/python/gecko.py')
0 files changed, 0 insertions, 0 deletions