search for: opus_x86_may_have_avx

Displaying 6 results from an estimated 6 matches for "opus_x86_may_have_avx".

2015 Nov 20
1
[PATCH] Fix x86 build if we presume SSE4.1 (and earlier), but not AVX.
...d(OPUS_X86_PRESUME_SSE)) || \ (defined(OPUS_X86_MAY_HAVE_SSE2) && !defined(OPUS_X86_PRESUME_SSE2)) || \ - (defined(OPUS_X86_MAY_HAVE_SSE4_1) && !defined(OPUS_X86_PRESUME_SSE4_1)) + (defined(OPUS_X86_MAY_HAVE_SSE4_1) && !defined(OPUS_X86_PRESUME_SSE4_1)) || \ + (defined(OPUS_X86_MAY_HAVE_AVX) && !defined(OPUS_X86_PRESUME_AVX)) #include "x86/x86cpu.h" /* We currently support 5 x86 variants: diff --git a/celt/x86/x86cpu.c b/celt/x86/x86cpu.c index 1a73dd1..555a576 100644 --- a/celt/x86/x86cpu.c +++ b/celt/x86/x86cpu.c @@ -37,7 +37,8 @@ #if (defined(OPUS_X86_MAY_H...
2016 May 31
2
[PATCH 1/2] Modify autoconf tests for intrinsics to stop clang from optimizing them away.
...urn _mm_cvtsi128_si32(mtest); ]] ) AS_IF([test x"$OPUS_X86_MAY_HAVE_SSE4_1" = x"1" && test x"$OPUS_X86_PRESUME_SSE4_1" != x"1"], @@ -576,10 +585,13 @@ AS_IF([test x"$enable_intrinsics" = x"yes"],[ [OPUS_X86_MAY_HAVE_AVX], [OPUS_X86_PRESUME_AVX], [[#include <immintrin.h> + #include <time.h> ]], [[ - static __m256 mtest; - mtest = _mm256_setzero_ps(); + __m256 mtest; + mtest = _mm256_set1_ps((float)time(NULL))...
2015 Oct 27
2
AVX Optimizations
Hello, I've created a pull request[1] to enable configuration to search for AVX support and set OPUS_X86_MAY_HAVE_AVX accordingly. Please review. Thanks, Radu [1] https://github.com/xiph/opus/pull/3 -----Original Message----- From: opus-bounces at xiph.org [mailto:opus-bounces at xiph.org] On Behalf Of Timothy B. Terriberry Sent: Wednesday, October 21, 2015 11:29 AM To: opus at xiph.org Subject: Re: [opus] A...
2015 Oct 20
2
AVX Optimizations
Hello, I'm currently looking to see if Opus could benefit from AVX/AVX2 instructions and I've made some experiments optimizing xcorr_kernel_* function in celt using AVX2 intrinsics and got about 1.5x-1.6x speedup over SSE floating point version in pitch_sse.c. Have AVX optimizations been tried in Opus? Is there someone I could talk to about optimizing compute intensive tasks in Opus using
2015 Nov 05
0
AVX Optimizations
Velea, Radu wrote: > I've created a pull request[1] to enable configuration to search for AVX support and set OPUS_X86_MAY_HAVE_AVX accordingly. > Please review. These commits both look fine. Would you like me to land them?
2015 Nov 05
2
AVX Optimizations
...at xiph.org [mailto:opus-bounces at xiph.org] On Behalf Of Timothy B. Terriberry Sent: Thursday, November 5, 2015 10:31 AM To: opus at xiph.org Subject: Re: [opus] AVX Optimizations Velea, Radu wrote: > I've created a pull request[1] to enable configuration to search for AVX support and set OPUS_X86_MAY_HAVE_AVX accordingly. > Please review. These commits both look fine. Would you like me to land them? _______________________________________________ opus mailing list opus at xiph.org http://lists.xiph.org/mailman/listinfo/opus