From 2db0c08b9e3daa49e279a4e2624b4e5951250771 Mon Sep 17 00:00:00 2001 From: Chanho Park Date: Mon, 15 Sep 2014 22:40:13 +0900 Subject: [PATCH] Conditionalise ARM asm on !__thumb__. Change-Id: I3e6aa23cc64dfb74505f217e6bbea0e99cf2a9f3 Signed-off-by: Torbjorn Granlund Signed-off-by: Chanho Park --- mpn/generic/mod_1_1.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mpn/generic/mod_1_1.c b/mpn/generic/mod_1_1.c index 2e11139..6453d3b 100644 --- a/mpn/generic/mod_1_1.c +++ b/mpn/generic/mod_1_1.c @@ -129,7 +129,7 @@ see https://www.gnu.org/licenses/. */ "%2" ((UDItype)(a0)), "r" ((UDItype)(b0)) __CLOBBER_CC) #endif -#if defined (__arm__) && W_TYPE_SIZE == 32 +#if defined (__arm__) && !defined (__thumb__) && W_TYPE_SIZE == 32 #define add_mssaaaa(m, sh, sl, ah, al, bh, bl) \ __asm__ ( "adds %2, %5, %6\n\t" \ "adcs %1, %3, %4\n\t" \ -- 2.7.4