From 26c21d1b57e475c96da1af61cc6841168df56e43 Mon Sep 17 00:00:00 2001 From: Chanho Park Date: Mon, 15 Sep 2014 22:41:28 +0900 Subject: [PATCH] Conditionalise ARM asm on !__thumb__. Change-Id: I936c76d75aee75d696d247fd9ab05c5b7f0ce795 Signed-off-by: Torbjorn Granlund Signed-off-by: Chanho Park --- mpn/generic/div_qr_1n_pi1.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mpn/generic/div_qr_1n_pi1.c b/mpn/generic/div_qr_1n_pi1.c index 229ee09..8877cf7 100644 --- a/mpn/generic/div_qr_1n_pi1.c +++ b/mpn/generic/div_qr_1n_pi1.c @@ -130,7 +130,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