mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-09 06:48:06 +02:00
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 <robh@kernel.org> Reviewed-by: Eric Anholt <eric@anholt.net>
This commit is contained in:
parent
6d92f32852
commit
83107acb7b
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue