[Gmp-commit] /var/hg/gmp: Conditionalise ARM asm on !__thumb__.

mercurial at gmplib.org mercurial at gmplib.org
Fri Apr 4 09:07:17 UTC 2014


details:   /var/hg/gmp/rev/676e2d0f0e4d
changeset: 16372:676e2d0f0e4d
user:      Torbjorn Granlund <tege at gmplib.org>
date:      Fri Apr 04 11:07:02 2014 +0200
description:
Conditionalise ARM asm on !__thumb__.

diffstat:

 mpn/generic/div_qr_1n_pi1.c |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r 0194a75b56b2 -r 676e2d0f0e4d mpn/generic/div_qr_1n_pi1.c
--- a/mpn/generic/div_qr_1n_pi1.c	Thu Apr 03 23:58:51 2014 +0200
+++ b/mpn/generic/div_qr_1n_pi1.c	Fri Apr 04 11:07:02 2014 +0200
@@ -130,7 +130,7 @@
 	     "%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"					\


More information about the gmp-commit mailing list