Deactivating AVX2 support by default
This CL deactivates the AVX2 support by default due to issues identified
during testing.
Bug: webrtc:11663
Change-Id: Ib42791a8da9a93c986f69bfc85def2158525af79
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/185818
Reviewed-by: Mirko Bonadei <mbonadei@webrtc.org>
Reviewed-by: Niels Moller <nisse@webrtc.org>
Commit-Queue: Per Åhgren <peah@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#32231}
diff --git a/system_wrappers/source/cpu_features.cc b/system_wrappers/source/cpu_features.cc
index 0f81212..09897c4 100644
--- a/system_wrappers/source/cpu_features.cc
+++ b/system_wrappers/source/cpu_features.cc
@@ -79,7 +79,7 @@
}
#if defined(WEBRTC_ENABLE_AVX2)
if (feature == kAVX2 &&
- !webrtc::field_trial::IsEnabled("WebRTC-Avx2SupportKillSwitch")) {
+ webrtc::field_trial::IsEnabled("WebRTC-ActivateAvx2Support")) {
int cpu_info7[4];
__cpuid(cpu_info7, 0);
int num_ids = cpu_info7[0];