mpfr: crusade against inline assembler
[vuplus_openembedded] / packages / mpfr / long-long-thumb.patch
1 --- mpfr-2.3.1/mpfr-longlong.h~ 2008-01-01 03:29:09.000000000 +0000
2 +++ mpfr-2.3.1/mpfr-longlong.h  2008-10-27 21:46:44.000000000 +0000
3 @@ -406,7 +406,7 @@
4              "rIJ" ((USItype) (bl)))
5  #endif
6  
7 -#if defined (__arm__) && W_TYPE_SIZE == 32
8 +#if defined (__arm__) && W_TYPE_SIZE == 32 && !defined(__thumb__)
9  #define add_ssaaaa(sh, sl, ah, al, bh, bl) \
10    __asm__ ("adds\t%1, %4, %5\n\tadc\t%0, %2, %3"                       \
11            : "=r" (sh), "=&r" (sl)                                      \