Revert "Deactivating AVX2 support by default"
This reverts commit 3f8966f4abad97b9e0da16994d82e4f72d353486. Reason for revert: The issues identified during testing were found to be unrelated to the AVX2 code. Original change's description: > 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} TBR=mbonadei@webrtc.org,peah@webrtc.org,nisse@webrtc.org Change-Id: I132c9e436cfb0145c8744902b2ea3bca8c8f0f79 No-Presubmit: true No-Tree-Checks: true No-Try: true Bug: webrtc:11663 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/186044 Reviewed-by: Per Åhgren <peah@webrtc.org> Reviewed-by: Niels Moller <nisse@webrtc.org> Commit-Queue: Per Åhgren <peah@webrtc.org> Cr-Commit-Position: refs/heads/master@{#32252}
This commit is contained in:
@ -79,7 +79,7 @@ int GetCPUInfo(CPUFeature feature) {
|
||||
}
|
||||
#if defined(WEBRTC_ENABLE_AVX2)
|
||||
if (feature == kAVX2 &&
|
||||
webrtc::field_trial::IsEnabled("WebRTC-ActivateAvx2Support")) {
|
||||
!webrtc::field_trial::IsEnabled("WebRTC-Avx2SupportKillSwitch")) {
|
||||
int cpu_info7[4];
|
||||
__cpuid(cpu_info7, 0);
|
||||
int num_ids = cpu_info7[0];
|
||||
|
Reference in New Issue
Block a user