diff options
-rw-r--r-- | libgcc/ChangeLog | 5 | ||||
-rw-r--r-- | libgcc/longlong.h | 3 |
2 files changed, 7 insertions, 1 deletions
diff --git a/libgcc/ChangeLog b/libgcc/ChangeLog index 4d8294b44f6..fd60295f760 100644 --- a/libgcc/ChangeLog +++ b/libgcc/ChangeLog @@ -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 diff --git a/libgcc/longlong.h b/libgcc/longlong.h index 1a839dd0d30..202637714af 100644 --- a/libgcc/longlong.h +++ b/libgcc/longlong.h @@ -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)), \ |