Conditionalise ARM asm on !__thumb__. tizen_old
authorChanho Park <chanho61.park@samsung.com>
Mon, 15 Sep 2014 13:41:28 +0000 (22:41 +0900)
committerDongkyun, Son <dongkyun.s@samsung.com>
Fri, 18 Dec 2015 05:11:02 +0000 (14:11 +0900)
Change-Id: I936c76d75aee75d696d247fd9ab05c5b7f0ce795
Signed-off-by: Torbjorn Granlund <tege@gmplib.org>
Signed-off-by: Chanho Park <chanho61.park@samsung.com>
mpn/generic/div_qr_1n_pi1.c

index 229ee091a4307b0a2f6eacda6d007ffeaa88f242..8877cf72e4481751e8e2efbc757deccbda034c77 100644 (file)
@@ -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"                                 \