[Buildroot] [PATCH 2/2] mpg123: use code optimized for ARM NEON SIMD engine if available
Peter Korsgaard
jacmet at uclibc.org
Fri Nov 22 22:37:44 UTC 2013
>>>>> "Sven" == Sven Neumann <neumann at teufel.de> writes:
> Signed-off-by: Sven Neumann <neumann at teufel.de>
> ---
> package/mpg123/mpg123.mk | 4 ++++
> 1 file changed, 4 insertions(+)
> diff --git a/package/mpg123/mpg123.mk b/package/mpg123/mpg123.mk
> index 3db2843..0d5b1bc 100644
> --- a/package/mpg123/mpg123.mk
> +++ b/package/mpg123/mpg123.mk
> @@ -15,8 +15,12 @@ MPG123_LICENSE_FILES = COPYING
> MPG123_CPU = $(if $(BR2_SOFT_FLOAT),generic_nofpu,generic_fpu)
> ifeq ($(BR2_arm),y)
> +ifeq ($(BR2_ARM_FPU_NEON),y)
> +MPG123_CPU = neon
> +else
I don't know anything about the mpg123 code, but are you sure you need
ARM_FPU_NEON (E.G. do all fpu calculation using neon) and not just
BR2_ARM_CPU_HAS_NEON (E.G. cpu has neon support)?
--
Bye, Peter Korsgaard
More information about the buildroot
mailing list