summaryrefslogtreecommitdiff
path: root/longlong.h
diff options
context:
space:
mode:
authorTorbjorn Granlund <tege@gmplib.org>2012-11-29 20:21:11 +0100
committerTorbjorn Granlund <tege@gmplib.org>2012-11-29 20:21:11 +0100
commit9c382c3450e2d0fb9be5367e826aad0fe9f6ba00 (patch)
tree88a45404f0b21d4794d31cd7bc5c383de15d3f2e /longlong.h
parente746b7b0e0c1224287682a1586417c2fb24e28d0 (diff)
downloadgmp-9c382c3450e2d0fb9be5367e826aad0fe9f6ba00.tar.gz
Conditionalise ARM asm on !__thumb__.
Diffstat (limited to 'longlong.h')
-rw-r--r--longlong.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/longlong.h b/longlong.h
index 0e0db7cdb..cb61d7689 100644
--- a/longlong.h
+++ b/longlong.h
@@ -424,7 +424,7 @@ long __MPN(count_leading_zeros) (UDItype);
"rIJ" ((USItype) (bl)))
#endif
-#if defined (__arm__) && W_TYPE_SIZE == 32
+#if defined (__arm__) && !defined (__thumb__) && W_TYPE_SIZE == 32
#define add_ssaaaa(sh, sl, ah, al, bh, bl) \
__asm__ ("adds\t%1, %4, %5\n\tadc\t%0, %2, %3" \
: "=r" (sh), "=&r" (sl) \