diff options
author | Rob Herring <[email protected]> | 2017-01-30 16:54:52 -0600 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2017-01-31 14:06:19 -0800 |
commit | 83107acb7b893ae8cf1aa2158c621e20f9c61a88 (patch) | |
tree | 91067497fcc8ecfb3f2e3ee9b5e90afa61508da5 /src/gallium/drivers/vc4/vc4_tiling.h | |
parent | 6d92f3285288e2ce141560727f1bd622417f8f5f (diff) |
vc4: fix arm64 build with Neon
The addition of Neon assembly breaks on arm64 builds because the assembly
syntax is different. For now, restrict Neon to ARMv7 builds.
Signed-off-by: Rob Herring <[email protected]>
Reviewed-by: Eric Anholt <[email protected]>
Diffstat (limited to 'src/gallium/drivers/vc4/vc4_tiling.h')
-rw-r--r-- | src/gallium/drivers/vc4/vc4_tiling.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/vc4/vc4_tiling.h b/src/gallium/drivers/vc4/vc4_tiling.h index 218130b2007..ba1ad6fb3f7 100644 --- a/src/gallium/drivers/vc4/vc4_tiling.h +++ b/src/gallium/drivers/vc4/vc4_tiling.h @@ -87,7 +87,7 @@ void vc4_store_tiled_image(void *dst, uint32_t dst_stride, * should extend this to have some runtime detection of being built for ARMv6 * on a Pi 2+. */ -#if defined(__ARM_ARCH) && __ARM_ARCH >= 7 +#if defined(__ARM_ARCH) && __ARM_ARCH == 7 #define NEON_SUFFIX(x) x ## _neon #else #define NEON_SUFFIX(x) x ## _base |