1 From ad090272c831b5c62f0b310c776e76e3b1ffc88d Mon Sep 17 00:00:00 2001
2 From: Iain Lane <iain.lane@canonical.com>
3 Date: Fri, 15 Nov 2013 14:17:03 +0000
4 Subject: [PATCH] Prevent the NEON check in configure from passing under
7 The test verifies that the NEON C intrinsics work, but the rest of the
8 codebase uses lots of direct ARMv7 NEON assembly. The same intrinsics
9 work in A64, but the assembly is slightly different.
11 Prevent the check from passing so that we don't use this where it won't
14 Patch originally by William Grant <wgrant@ubuntu.com>
16 https://bugzilla.gnome.org/show_bug.cgi?id=712367
19 1 file changed, 1 insertion(+)
21 diff --git a/configure.ac b/configure.ac
22 index e5c223f..0495371 100644
25 @@ -190,6 +190,7 @@ AC_LINK_IFELSE([
28 int32x4_t testfunc(int16_t *a, int16_t *b) {
29 + asm volatile ("vmull.s16 q0, d0, d0" : : : "q0");
30 return vmull_s16(vld1_s16(a), vld1_s16(b));