From 94438e141e00e9fdbc32adf76fa896a616779027 Mon Sep 17 00:00:00 2001 From: Jeffrey Pfau Date: Sun, 13 Jul 2014 18:32:10 -0700 Subject: [PATCH] Only assemble NEON code when NEON is enabled --- src/util/arm-algo.S | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/util/arm-algo.S b/src/util/arm-algo.S index eb07ae384..4f74b4806 100644 --- a/src/util/arm-algo.S +++ b/src/util/arm-algo.S @@ -29,6 +29,7 @@ bne .L1 pop {r4-r10} bx lr +#ifdef __ARM_NEON # r0: Destination # r1: Source # r2: Width @@ -90,3 +91,4 @@ mov r0, r7 bne .n40 pop {r4-r7} bx lr +#endif