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

mercurial at gmplib.org mercurial at gmplib.org
Fri Mar 28 19:35:28 UTC 2014


details:   /var/hg/gmp/rev/c56ea318eb64
changeset: 16360:c56ea318eb64
user:      Torbjorn Granlund <tege at gmplib.org>
date:      Fri Mar 28 20:35:13 2014 +0100
description:
Conditionalise ARM asm on !__thumb__.

diffstat:

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

diffs (12 lines):

diff -r c6fe20ab62ac -r c56ea318eb64 mpn/generic/mod_1_1.c
--- a/mpn/generic/mod_1_1.c	Wed Mar 26 12:58:33 2014 +0100
+++ b/mpn/generic/mod_1_1.c	Fri Mar 28 20:35:13 2014 +0100
@@ -129,7 +129,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