Displaying 20 results from an estimated 32 matches for "asm_optimization".
2013 Apr 11
0
No subject
...LINE_MEDIA], [1],
>> [Use ARMv6 inline asm optimizations])
>> @@ -335,13 +363,20 @@ AS_IF([test x"${enable_asm}" = x"yes"],[
>> [*** ARM assembly requires perl -- disabling optimizations])
>> asm_optimization="(missing perl dependency for ARM)"
>> ])
>> - ])
>> + AS_IF([test x"$OPUS_ARM_NEON_INTR" = x"1"], [
>> + AC_DEFINE([OPUS_ARM_NEON_INTR], 1,
>> + [Compiler supports ARMv7 Neon Int...
2013 Dec 08
2
Opus 1.1's autoconf script is broken
...in -lm... (cached) yes
/home/ports/pobj/opus-1.1/opus-1.1/configure[12816]:
${inline_optimization:0:3}": bad substitution
AM_CONDITIONAL([OPUS_ARM_INLINE_ASM],
[test x"${inline_optimization:0:3}" = x"ARM"])
AM_CONDITIONAL([OPUS_ARM_EXTERNAL_ASM],
[test x"${asm_optimization:0:3}" = x"ARM"])
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
2013 Dec 08
0
[PATCH] configure.ac: fix bashism in ARM optimization handling
...PU_ARM], [test "$cpu_arm" = "yes"])
AM_CONDITIONAL([OPUS_ARM_INLINE_ASM],
- [test x"${inline_optimization:0:3}" = x"ARM"])
+ [test x"${inline_optimization%% *}" = x"ARM"])
AM_CONDITIONAL([OPUS_ARM_EXTERNAL_ASM],
- [test x"${asm_optimization:0:3}" = x"ARM"])
+ [test x"${asm_optimization%% *}" = x"ARM"])
AS_IF([test x"$enable_rtcd" = x"yes"],[
AS_IF([test x"$rtcd_support" != x"no"],[
--
1.8.4.rc3
2013 Dec 15
1
Opus 1.1: configure uses invalid shell syntax
...test "$cpu_arm" = "yes"])
AM_CONDITIONAL([OPUS_ARM_INLINE_ASM],
- [test x"${inline_optimization:0:3}" = x"ARM"])
+ [expr x"${inline_optimization}" : x"ARM" >/dev/null])
AM_CONDITIONAL([OPUS_ARM_EXTERNAL_ASM],
- [test x"${asm_optimization:0:3}" = x"ARM"])
+ [expr x"${asm_optimization}" : x"ARM" >/dev/null])
AS_IF([test x"$enable_rtcd" = x"yes"],[
AS_IF([test x"$rtcd_support" != x"no"],[
--
Christian "naddy" Weisgerber...
2014 Nov 21
4
[RFC PATCHv1] cover: celt_pitch_xcorr: Introduce ARM neon intrinsics
Hello,
I received feedback from engineers working on NE10 [1] that
it would be better to use NE10 [1] for FFT optimizations for
opus use cases. However, these FFT patches are currently in review
and haven't been integrated into NE10 yet.
While the FFT functions in NE10 are getting baked, I wanted
to optimize the celt_pitch_xcorr (floating point only) and use
it to introduce ARM NEON
2013 May 23
2
ASM runtime detection and optimizations
...opus_val16 * OPUS_RESTRICT y,
int len, int max_pitch, int *pitch);
diff --git a/configure.ac b/configure.ac
index ee6df9a..6b9612f 100644
--- a/configure.ac
+++ b/configure.ac
@@ -167,6 +167,7 @@ if test "x${ac_enable_asm}" = xyes ; then
AS_GCC_INLINE_ASSEMBLY([asm_optimization="ARM"],
[asm_optimization="disabled"])
if test "x${asm_optimization}" = "xARM" ; then
+ AC_DEFINE([ARM_ASM], 1, [Use generic ARM asm optimizations])
AC_DEFINE([ARMv4_ASM], 1, [Use generic ARMv4 asm optimizations])...
2014 Nov 21
0
[RFC PATCHv1] armv7: celt_pitch_xcorr: Introduce ARM neon intrinsics
...AC_DEFINE([OPUS_ARM_INLINE_MEDIA], [1],
[Use ARMv6 inline asm optimizations])
@@ -335,13 +363,20 @@ AS_IF([test x"${enable_asm}" = x"yes"],[
[*** ARM assembly requires perl -- disabling optimizations])
asm_optimization="(missing perl dependency for ARM)"
])
- ])
+ AS_IF([test x"$OPUS_ARM_NEON_INTR" = x"1"], [
+ AC_DEFINE([OPUS_ARM_NEON_INTR], 1,
+ [Compiler supports ARMv7 Neon Intrinsics]),
+ AS_IF([test x"$OPUS_ARM_PRESUME_NEON" = x"1"]...
2013 May 21
2
[PATCH] 02-Add CELT filter optimizations
.../* FIXED_POINT */
+
+#endif
diff --git a/configure.ac b/configure.ac
index 0c6d725..a36d403 100644
--- a/configure.ac
+++ b/configure.ac
@@ -178,6 +178,11 @@ if test "x${ac_enable_asm}" = xyes ; then
AC_DEFINE(ARMv6_ASM, 1, [Use ARMv6 asm optimizations])
asm_optimization="${asm_optimization} (Media)"
fi
+ AS_ASM_ARM_NEON([ARM_HAVE_NEON=1],[ARM_HAVE_NEON=0])
+ if test "x${ARM_HAVE_NEON}" = "x1" ; then
+ AC_DEFINE([ARM_HAVE_NEON], 1, [Use ARM NEON optimizations])
+ asm_optimiza...
2014 Nov 28
2
[RFC PATCHv1] armv7: celt_pitch_xcorr: Introduce ARM neon intrinsics
...INE([OPUS_ARM_INLINE_MEDIA], [1],
> [Use ARMv6 inline asm optimizations])
> @@ -335,13 +363,20 @@ AS_IF([test x"${enable_asm}" = x"yes"],[
> [*** ARM assembly requires perl -- disabling optimizations])
> asm_optimization="(missing perl dependency for ARM)"
> ])
> - ])
> + AS_IF([test x"$OPUS_ARM_NEON_INTR" = x"1"], [
> + AC_DEFINE([OPUS_ARM_NEON_INTR], 1,
> + [Compiler supports ARMv7 Neon Intrinsics]),
> + AS_IF([test x"$OPUS_ARM_PRESU...
2014 Nov 25
2
[RFC PATCHv1] cover: celt_pitch_xcorr: Introduce ARM neon intrinsics
On 25 November 2014 at 10:11, Viswanath Puttagunta
<viswanath.puttagunta at linaro.org> wrote:
>
> On 25 November 2014 at 09:39, Jonathan Lennox <jonathan at vidyo.com> wrote:
> >
> > On Nov 25, 2014, at 10:07 AM, Viswanath Puttagunta <viswanath.puttagunta at linaro.org> wrote:
> >>
> >> > Also is there plans to make the NEON optimisations
2015 Aug 05
0
[PATCH 3/8] Autoconf changes for arm64 inline assembly support.
...)
+ AS_IF([test x"$inline_optimization" = x"ARM64"],[
+ AC_DEFINE([OPUS_ARM64_INLINE_ASM], 1,
+ [Use ARM64 inline asm optimizations])
+ ])
+ dnl Don't yet have external asm for arm64
+ asm_optimization="disabled"
+ dnl Don't need RTCD for arm64
+ rtcd_support=no
+ ])
+ ;;
arm*)
dnl Currently we only have asm for fixed-point
AS_IF([test "$enable_float" != "yes"],[
--
2.3.2 (Apple Git-55)
2015 Nov 07
0
[Aarch64 05/11] Autoconf changes for aarch64 inline assembly support.
...)
+ AS_IF([test x"$inline_optimization" = x"ARM64"],[
+ AC_DEFINE([OPUS_ARM64_INLINE_ASM], 1,
+ [Use ARM64 inline asm optimizations])
+ ])
+ dnl Don't yet have external asm for arm64
+ asm_optimization="disabled"
+ dnl Don't need RTCD for arm64
+ rtcd_support=no
+ ])
+ ;;
arm*)
dnl Currently we only have asm for fixed-point
AS_IF([test "$enable_float" != "yes"],[
--
2.4.9 (Apple Git-60)
2014 Nov 25
0
[RFC PATCHv1] cover: celt_pitch_xcorr: Introduce ARM neon intrinsics
...TIONAL([OPUS_ARM64_INLINE_ASM],[true])
214 AC_DEFINE([OPUS_ARM64_INLINE_ASM], 1,
215 [Use ARM64 inline asm optimizations])
216 ])
217 dnl Don't yet have external asm for arm64
218 asm_optimization="disabled"
219 dnl Don't need RTCD for arm64
220 rtcd_support=no
221 ])
222 ;;
This actually should probably be modified to support compilers that have ARM intrinsics but not GCC assembly (e.g. Visual S...
2014 Nov 25
1
[RFC PATCHv1] cover: celt_pitch_xcorr: Introduce ARM neon intrinsics
..._ASM],[true])
> 214 AC_DEFINE([OPUS_ARM64_INLINE_ASM], 1,
> 215 [Use ARM64 inline asm optimizations])
> 216 ])
> 217 dnl Don't yet have external asm for arm64
> 218 asm_optimization="disabled"
> 219 dnl Don't need RTCD for arm64
> 220 rtcd_support=no
> 221 ])
> 222 ;;
>
> This actually should probably be modified to support compilers that have ARM
> intrinsics b...
2014 Dec 19
2
[PATCH v1] cover: armv7: celt_pitch_xcorr: Introduce ARM neon intrinsics
Hi,
Optimizes celt_pitch_xcorr for ARM NEON floating point.
Changes from RFCv3:
- celt_neon_intr.c
- removed warnings due to not having constant pointers
- Put simpler loop to take care of corner cases. Unrolling using
intrinsics was not really mapping well to what was done
in celt_pitch_xcorr_arm.s
- Makefile.am
Removed explicit -O3 optimization
- test_unit_mathops.c,
2014 Dec 19
0
[PATCH v1] armv7: celt_pitch_xcorr: Introduce ARM neon intrinsics
...tform, please send patches"
+ inline_optimization="No inline ASM for your platform, please send patches"
case $host_cpu in
arm*)
dnl Currently we only have asm for fixed-point
@@ -343,7 +343,6 @@ AS_IF([test x"${enable_asm}" = x"yes"],[
asm_optimization="disabled"
])
-AM_CONDITIONAL([CPU_ARM], [test "$cpu_arm" = "yes"])
AM_CONDITIONAL([OPUS_ARM_INLINE_ASM],
[test x"${inline_optimization%% *}" = x"ARM"])
AM_CONDITIONAL([OPUS_ARM_EXTERNAL_ASM],
@@ -351,9 +350,58 @@ AM_CONDITIONAL([OPUS_ARM_...
2014 Dec 07
0
[RFC PATCH v2] armv7: celt_pitch_xcorr: Introduce ARM neon intrinsics
...form, please send patches"
+ inline_optimization="No in-line ASM for your platform, please send patches"
case $host_cpu in
arm*)
dnl Currently we only have asm for fixed-point
@@ -343,7 +343,6 @@ AS_IF([test x"${enable_asm}" = x"yes"],[
asm_optimization="disabled"
])
-AM_CONDITIONAL([CPU_ARM], [test "$cpu_arm" = "yes"])
AM_CONDITIONAL([OPUS_ARM_INLINE_ASM],
[test x"${inline_optimization%% *}" = x"ARM"])
AM_CONDITIONAL([OPUS_ARM_EXTERNAL_ASM],
@@ -351,9 +350,52 @@ AM_CONDITIONAL([OPUS_ARM_...
2014 Dec 10
0
[RFC PATCH v3] armv7: celt_pitch_xcorr: Introduce ARM neon intrinsics
...tform, please send patches"
+ inline_optimization="No inline ASM for your platform, please send patches"
case $host_cpu in
arm*)
dnl Currently we only have asm for fixed-point
@@ -343,7 +343,6 @@ AS_IF([test x"${enable_asm}" = x"yes"],[
asm_optimization="disabled"
])
-AM_CONDITIONAL([CPU_ARM], [test "$cpu_arm" = "yes"])
AM_CONDITIONAL([OPUS_ARM_INLINE_ASM],
[test x"${inline_optimization%% *}" = x"ARM"])
AM_CONDITIONAL([OPUS_ARM_EXTERNAL_ASM],
@@ -351,9 +350,58 @@ AM_CONDITIONAL([OPUS_ARM_...
2014 Dec 10
2
[RFC PATCH v3] cover: armv7: celt_pitch_xcorr: Introduce ARM neon intrinsics
Hi,
Optimizes celt_pitch_xcorr for floating point.
Changes from RFCv2:
- Changes recommended by Timothy for celt_neon_intr.c
everything except, left the unrolled loop still unrolled
- configure.ac
- use AC_LINK_IFELSE instead of AC_COMPILE_IFELSE
- Moved compile flags into Makefile.am
- OPUS_ARM_NEON_INR --> typo --> OPUS_ARM_NEON_INTR
Viswanath Puttagunta (1):
armv7:
2014 Dec 07
3
[RFC PATCH v2] cover: armv7: celt_pitch_xcorr: Introduce ARM neon intrinsics
From: Viswanath Puttagunta <viswanath.puttagunta at linaro.org>
Hi,
Optimizes celt_pitch_xcorr for floating point.
Changes from RFCv1:
- Rebased on top of commit
aad281878: Fix celt_pitch_xcorr_c signature.
which got rid of ugly code around CELT_PITCH_XCORR_IMPL
passing of "arch" parameter.
- Unified with --enable-intrinsics used by x86
- Modified algorithm to be more