Conditionalise ARM asm on !__thumb__.
authorChanho Park <chanho61.park@samsung.com>
Mon, 15 Sep 2014 13:40:13 +0000 (22:40 +0900)
committerChanho Park <chanho61.park@samsung.com>
Mon, 15 Sep 2014 13:40:13 +0000 (22:40 +0900)
Change-Id: I3e6aa23cc64dfb74505f217e6bbea0e99cf2a9f3
Signed-off-by: Torbjorn Granlund <tege@gmplib.org>
Signed-off-by: Chanho Park <chanho61.park@samsung.com>
mpn/generic/mod_1_1.c

index 2e11139..6453d3b 100644 (file)
@@ -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"                                 \