For Michael Hope.

2012-03-11  Michael Hope  <michael.hope@linaro.org>

       * longlong.h [ARM] (add_ssaaaa, sub_ddmmss, umul_ppmm): Enable
       for Thumb-2

From-SVN: r185202
This commit is contained in:
Michael Hope 2012-03-11 23:58:54 +00:00 committed by Ramana Radhakrishnan
parent bddc10b636
commit 75ffafdc62
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2012-03-11 Michael Hope <michael.hope@linaro.org>
* longlong.h [ARM] (add_ssaaaa, sub_ddmmss, umul_ppmm): Enable
for Thumb-2.
2012-03-07 Walter Lee <walt@tilera.com>
* config/tilepro/atomic.c: Rename "atomic_" prefix to

View File

@ -203,7 +203,8 @@ do { \
UDItype __umulsidi3 (USItype, USItype);
#endif
#if defined (__arm__) && !defined (__thumb__) && W_TYPE_SIZE == 32
#if defined (__arm__) && (defined (__thumb2__) || !defined (__thumb__)) \
&& W_TYPE_SIZE == 32
#define add_ssaaaa(sh, sl, ah, al, bh, bl) \
__asm__ ("adds %1, %4, %5\n\tadc %0, %2, %3" \
: "=r" ((USItype) (sh)), \