eb678b01b0494fabff091bb1c28abe77f1fe28d4
[packages/trusty/cirros-testvm.git] / cirros-testvm / src-cirros / buildroot-2015.05 / package / gmp / 0001-arm-asm-conditional-on-no-thumb-1.patch
1
2 # HG changeset patch
3 # User Torbjorn Granlund <tege@gmplib.org>
4 # Date 1396035313 -3600
5 # Node ID c56ea318eb6435bdd28dbfef657b2fe372134f1f
6 # Parent  c6fe20ab62acc266ff5ad3629bef447bc43dcd1b
7 Conditionalise ARM asm on !__thumb__.
8
9 diff -r c6fe20ab62ac -r c56ea318eb64 mpn/generic/mod_1_1.c
10 --- a/mpn/generic/mod_1_1.c     Wed Mar 26 12:58:33 2014 +0100
11 +++ b/mpn/generic/mod_1_1.c     Fri Mar 28 20:35:13 2014 +0100
12 @@ -129,7 +129,7 @@
13              "%2" ((UDItype)(a0)), "r" ((UDItype)(b0)) __CLOBBER_CC)
14  #endif
15  
16 -#if defined (__arm__) && W_TYPE_SIZE == 32
17 +#if defined (__arm__) && !defined (__thumb__) && W_TYPE_SIZE == 32
18  #define add_mssaaaa(m, sh, sl, ah, al, bh, bl)                         \
19    __asm__ (  "adds     %2, %5, %6\n\t"                                 \
20              "adcs      %1, %3, %4\n\t"                                 \
21