Support AVX2/FMA intrinsics in Audio Resampler module
From the test result, using AVX2/FMA is 1.60x faster than SSE on atlas. Bug: webrtc:11663 Test: common_audio_unittests on atlas and octopus. Change-Id: Ibd45ea46aa97d5790a24e5116f741592b95f6416 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/176382 Reviewed-by: Per Åhgren <peah@webrtc.org> Reviewed-by: Henrik Andreassson <henrika@webrtc.org> Reviewed-by: Mirko Bonadei <mbonadei@webrtc.org> Reviewed-by: Sam Zackrisson <saza@webrtc.org> Commit-Queue: Sam Zackrisson <saza@webrtc.org> Cr-Commit-Position: refs/heads/master@{#31810}
This commit is contained in:
@ -18,7 +18,7 @@ extern "C" {
|
||||
#endif
|
||||
|
||||
// List of features in x86.
|
||||
typedef enum { kSSE2, kSSE3 } CPUFeature;
|
||||
typedef enum { kSSE2, kSSE3, kAVX2 } CPUFeature;
|
||||
|
||||
// List of features in ARM.
|
||||
enum {
|
||||
|
Reference in New Issue
Block a user