diff options
author | Michael Hope <michael.hope@linaro.org> | 2012-03-11 23:58:54 +0000 |
---|---|---|
committer | Ramana Radhakrishnan <ramana@gcc.gnu.org> | 2012-03-11 23:58:54 +0000 |
commit | 75ffafdc6258d4f75a35629d7def7939ea5cf9ae (patch) | |
tree | b37956689ed321d7f8443fce13b8f2159a7badd4 /libgcc | |
parent | bddc10b6363e76276ceab3244d04435a8941cd49 (diff) | |
download | gcc-75ffafdc6258d4f75a35629d7def7939ea5cf9ae.tar.gz |
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
Diffstat (limited to 'libgcc')
-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)), \ |