[Mesa-dev] [PATCH 5/7 v2] broadcom/vc4: Build the vc4_tiling_lt_neon.c with -mfpu=neon on ARM.
Rob Herring
robh at kernel.org
Fri Aug 11 02:39:24 UTC 2017
On Thu, Aug 10, 2017 at 5:43 PM, Eric Anholt <eric at anholt.net> wrote:
> If you don't pass this, the compiler refuses to compile the assembly for
> pre-v7 CPUs. This also keeps us from building identical, non-NEON code on
> aarch64 and x86.
>
> Fixes: a373f77662c5 ("vc4: Use a wrapper file to set VC4_BUILD_NEON instead of CFLAGS.")
>
> v2: Fix Android build by just appending NEON_C_SOURCES when
> ARCH_ARM_HAVE_NEON.
> ---
> src/gallium/drivers/vc4/Android.mk | 4 ++++
> src/gallium/drivers/vc4/Makefile.am | 7 +++++++
> src/gallium/drivers/vc4/Makefile.sources | 3 ++-
> src/gallium/drivers/vc4/vc4_tiling.h | 17 +++++++++++------
> 4 files changed, 24 insertions(+), 7 deletions(-)
For Android:
Tested-by: Rob Herring <robh at kernel.org>
More information about the mesa-dev
mailing list