search for: cpu_support

Displaying 20 results from an estimated 38 matches for "cpu_support".

2015 Nov 20
1
[PATCH] Fix x86 build if we presume SSE4.1 (and earlier), but not AVX.
--- celt/cpu_support.h | 3 ++- celt/x86/x86cpu.c | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/celt/cpu_support.h b/celt/cpu_support.h index 133abbf..68fc606 100644 --- a/celt/cpu_support.h +++ b/celt/cpu_support.h @@ -45,7 +45,8 @@ #elif (defined(OPUS_X86_MAY_HAVE_SSE) && !define...
2015 Nov 05
2
AVX Optimizations
Yes, Thank you. I'll follow up with the AVX code and tests for pitch code. Radu -----Original Message----- From: opus-bounces 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
2015 Nov 05
0
AVX Optimizations
...otential SSE, SSE2, or SSE4.1 versions. It only works this well because the current maximum arch index happens to be one less than a power of two. Here's a patch that fixes the problem. If this looks okay to you, I'll amend your second commit to include these changes. diff --git a/celt/cpu_support.h b/celt/cpu_support.h index db1cb58..133abbf 100644 --- a/celt/cpu_support.h +++ b/celt/cpu_support.h @@ -43,23 +43,24 @@ */ #define OPUS_ARCHMASK 3 #elif (defined(OPUS_X86_MAY_HAVE_SSE) && !defined(OPUS_X86_PRESUME_SSE)) || \ (defined(OPUS_X86_MAY_HAVE_SSE2) && !defin...
2015 Nov 05
2
AVX Optimizations
...y potential SSE, SSE2, or SSE4.1 versions. It only works this well because the current maximum arch index happens to be one less than a power of two. Here's a patch that fixes the problem. If this looks okay to you, I'll amend your second commit to include these changes. diff --git a/celt/cpu_support.h b/celt/cpu_support.h index db1cb58..133abbf 100644 --- a/celt/cpu_support.h +++ b/celt/cpu_support.h @@ -43,23 +43,24 @@ */ #define OPUS_ARCHMASK 3 #elif (defined(OPUS_X86_MAY_HAVE_SSE) && !defined(OPUS_X86_PRESUME_SSE)) || \ (defined(OPUS_X86_MAY_HAVE_SSE2) && !define...
2013 May 23
2
ASM runtime detection and optimizations
...t -I$(top_srcdir)/silk/fixed -I$(top_srcdir)/src include celt_sources.mk include silk_sources.mk diff --git a/celt/celt_decoder.c b/celt/celt_decoder.c index d5d2c57..673ab4b 100644 --- a/celt/celt_decoder.c +++ b/celt/celt_decoder.c @@ -33,6 +33,7 @@ #define CELT_DECODER_C +#include "cpu_support.h" #include "os_support.h" #include "mdct.h" #include <math.h> @@ -69,6 +70,7 @@ struct OpusCustomDecoder { int downsample; int start, end; int signalling; + int arch; /* Everything beyond this point gets cleared on a reset */ #define DECODER_R...
2014 Dec 07
3
[RFC PATCH v2] cover: armv7: celt_pitch_xcorr: Introduce ARM neon intrinsics
...iswanath Puttagunta (1): armv7: celt_pitch_xcorr: Introduce ARM neon intrinsics Makefile.am | 11 ++ celt/arm/arm_celt_map.c | 15 ++- celt/arm/celt_neon_intr.c | 242 +++++++++++++++++++++++++++++++++++++++ celt/arm/pitch_arm.h | 13 ++- celt/cpu_support.h | 3 +- celt/pitch.h | 6 +- celt/tests/test_unit_mathops.c | 10 +- celt/tests/test_unit_rotation.c | 9 +- celt_sources.mk | 3 + configure.ac | 77 +++++++++++-- 10 files changed, 370 insertions(+), 19 deletion...
2014 Dec 19
2
[PATCH v1] cover: armv7: celt_pitch_xcorr: Introduce ARM neon intrinsics
...Viswanath Puttagunta (1): armv7: celt_pitch_xcorr: Introduce ARM neon intrinsics Makefile.am | 12 ++ celt/arm/arm_celt_map.c | 15 ++- celt/arm/celt_neon_intr.c | 249 +++++++++++++++++++++++++++++++++++++++ celt/arm/pitch_arm.h | 13 +- celt/cpu_support.h | 3 +- celt/pitch.h | 6 +- celt/tests/test_unit_mathops.c | 6 +- celt/tests/test_unit_rotation.c | 6 +- celt_sources.mk | 3 + configure.ac | 83 +++++++++++-- 10 files changed, 377 insertions(+), 19 deletion...
2014 Dec 10
2
[RFC PATCH v3] cover: armv7: celt_pitch_xcorr: Introduce ARM neon intrinsics
...Viswanath Puttagunta (1): armv7: celt_pitch_xcorr: Introduce ARM neon intrinsics Makefile.am | 12 ++ celt/arm/arm_celt_map.c | 15 ++- celt/arm/celt_neon_intr.c | 256 +++++++++++++++++++++++++++++++++++++++ celt/arm/pitch_arm.h | 13 +- celt/cpu_support.h | 3 +- celt/pitch.h | 6 +- celt/tests/test_unit_mathops.c | 9 +- celt/tests/test_unit_rotation.c | 9 +- celt_sources.mk | 3 + configure.ac | 83 +++++++++++-- 10 files changed, 390 insertions(+), 19 deletion...
2014 Dec 19
0
[PATCH v1] armv7: celt_pitch_xcorr: Introduce ARM neon intrinsics
...e this optimization is only enabled when the compiler supports neon intrinsics. --- Makefile.am | 12 ++ celt/arm/arm_celt_map.c | 15 ++- celt/arm/celt_neon_intr.c | 249 +++++++++++++++++++++++++++++++++++++++ celt/arm/pitch_arm.h | 13 +- celt/cpu_support.h | 3 +- celt/pitch.h | 6 +- celt/tests/test_unit_mathops.c | 6 +- celt/tests/test_unit_rotation.c | 6 +- celt_sources.mk | 3 + configure.ac | 83 +++++++++++-- 10 files changed, 377 insertions(+), 19 deletion...
2014 Dec 07
0
[RFC PATCH v2] armv7: celt_pitch_xcorr: Introduce ARM neon intrinsics
...this optimization is only enabled when the compiler supports neon intrinsics. --- Makefile.am | 11 ++ celt/arm/arm_celt_map.c | 15 ++- celt/arm/celt_neon_intr.c | 242 +++++++++++++++++++++++++++++++++++++++ celt/arm/pitch_arm.h | 13 ++- celt/cpu_support.h | 3 +- celt/pitch.h | 6 +- celt/tests/test_unit_mathops.c | 10 +- celt/tests/test_unit_rotation.c | 9 +- celt_sources.mk | 3 + configure.ac | 77 +++++++++++-- 10 files changed, 370 insertions(+), 19 deletion...
2014 Dec 10
0
[RFC PATCH v3] armv7: celt_pitch_xcorr: Introduce ARM neon intrinsics
...e this optimization is only enabled when the compiler supports neon intrinsics. --- Makefile.am | 12 ++ celt/arm/arm_celt_map.c | 15 ++- celt/arm/celt_neon_intr.c | 256 +++++++++++++++++++++++++++++++++++++++ celt/arm/pitch_arm.h | 13 +- celt/cpu_support.h | 3 +- celt/pitch.h | 6 +- celt/tests/test_unit_mathops.c | 9 +- celt/tests/test_unit_rotation.c | 9 +- celt_sources.mk | 3 + configure.ac | 83 +++++++++++-- 10 files changed, 390 insertions(+), 19 deletion...
2014 Dec 07
2
[RFC PATCH v2] cover: armv7: celt_pitch_xcorr: Introduce ARM neon intrinsics
...iswanath Puttagunta (1): armv7: celt_pitch_xcorr: Introduce ARM neon intrinsics Makefile.am | 11 ++ celt/arm/arm_celt_map.c | 15 ++- celt/arm/celt_neon_intr.c | 242 +++++++++++++++++++++++++++++++++++++++ celt/arm/pitch_arm.h | 13 ++- celt/cpu_support.h | 3 +- celt/pitch.h | 6 +- celt/tests/test_unit_mathops.c | 10 +- celt/tests/test_unit_rotation.c | 9 +- celt_sources.mk | 3 + configure.ac | 77 +++++++++++-- 10 files changed, 370 insertions(+), 19 deletion...
2014 Dec 19
2
[PATCH v1] armv7: celt_pitch_xcorr: Introduce ARM neon intrinsics
...when the compiler supports > neon intrinsics. > --- > Makefile.am | 12 ++ > celt/arm/arm_celt_map.c | 15 ++- > celt/arm/celt_neon_intr.c | 249 +++++++++++++++++++++++++++++++++++++++ > celt/arm/pitch_arm.h | 13 +- > celt/cpu_support.h | 3 +- > celt/pitch.h | 6 +- > celt/tests/test_unit_mathops.c | 6 +- > celt/tests/test_unit_rotation.c | 6 +- > celt_sources.mk | 3 + > configure.ac | 83 +++++++++++-- > 10 files changed,...
2015 Mar 02
13
Patch cleaning up Opus x86 intrinsics configury
The attached patch cleans up Opus's x86 intrinsics configury. It: * Makes ?enable-intrinsics work with clang and other non-GCC compilers * Enables RTCD for the floating-point-mode SSE code in Celt. * Disables use of RTCD in cases where the compiler targets an instruction set by default. * Enables the SSE4.1 Silk optimizations that apply to the common parts of Silk when Opus is built in
2014 Dec 07
0
[RFC PATCH v2] cover: armv7: celt_pitch_xcorr: Introduce ARM neon intrinsics
...mv7: celt_pitch_xcorr: Introduce ARM neon intrinsics > > Makefile.am | 11 ++ > celt/arm/arm_celt_map.c | 15 ++- > celt/arm/celt_neon_intr.c | 242 +++++++++++++++++++++++++++++++++++++++ > celt/arm/pitch_arm.h | 13 ++- > celt/cpu_support.h | 3 +- > celt/pitch.h | 6 +- > celt/tests/test_unit_mathops.c | 10 +- > celt/tests/test_unit_rotation.c | 9 +- > celt_sources.mk | 3 + > configure.ac | 77 +++++++++++-- > 10 files changed,...
2015 Aug 03
0
[PATCH 00/10] Patched cleaning up Opus x86 intrinsics configury
...c | 6 +- celt/celt.c | 16 +- celt/celt.h | 12 +- celt/celt_decoder.c | 6 +- celt/celt_encoder.c | 4 +- celt/celt_lpc.h | 2 +- celt/cpu_support.h | 14 +- celt/mips/celt_mipsr1.h | 2 +- celt/pitch.c | 4 +- celt/pitch.h | 19 +- celt/tests/test_unit_mathops.c | 9 +- celt/tests/test_unit_rotation.c | 9 +- celt/x86/c...
2015 Mar 13
1
[RFC PATCH v3] Intrinsics/RTCD related fixes. Mostly x86.
...c | 6 +- celt/celt.c | 16 +- celt/celt.h | 12 +- celt/celt_decoder.c | 6 +- celt/celt_encoder.c | 4 +- celt/celt_lpc.h | 2 +- celt/cpu_support.h | 15 +- celt/mips/celt_mipsr1.h | 2 +- celt/pitch.c | 4 +- celt/pitch.h | 19 +- celt/tests/test_unit_dft.c | 4 +- celt/tests/test_unit_mathops.c | 11 +- celt/tests...
2015 Mar 12
1
[RFC PATCHv2] Intrinsics/RTCD related fixes. Mostly x86.
...c | 6 +- celt/celt.c | 16 +- celt/celt.h | 12 +- celt/celt_decoder.c | 6 +- celt/celt_encoder.c | 4 +- celt/celt_lpc.h | 2 +- celt/cpu_support.h | 15 +- celt/mips/celt_mipsr1.h | 2 +- celt/pitch.c | 4 +- celt/pitch.h | 19 +- celt/tests/test_unit_dft.c | 4 +- celt/tests/test_unit_mathops.c | 11 +- celt/tests...
2015 Dec 23
6
[AArch64 neon intrinsics v4 0/5] Rework Neon intrinsic code for Aarch64 patchset
Following Tim's comments, here are my reworked patches for the Neon intrinsic function patches of of my Aarch64 patchset, i.e. replacing patches 5-8 of the v2 series. Patches 1-4 and 9-18 of the old series still apply unmodified. The one new (as opposed to changed) patch is the first one in this series, to add named constants for the ARM architecture variants. There are also some minor code
2015 Mar 18
5
[RFC PATCH v1 0/4] Enable aarch64 intrinsics/Ne10
...c | 6 +- celt/celt.c | 16 +- celt/celt.h | 12 +- celt/celt_decoder.c | 24 +- celt/celt_encoder.c | 20 +- celt/celt_lpc.h | 2 +- celt/cpu_support.h | 15 +- celt/dump_modes/Makefile | 23 +- celt/dump_modes/dump_modes.c | 21 ++ celt/dump_modes/dump_modes_arch.h | 41 ++++ celt/dump_modes/dump_modes_arm_ne10.c | 125 ++++++++++ celt/kiss_fft.c | 31 ++-...