diff options
author | ramana <ramana@138bc75d-0d04-0410-961f-82ee72b054a4> | 2012-03-11 23:58:54 +0000 |
---|---|---|
committer | ramana <ramana@138bc75d-0d04-0410-961f-82ee72b054a4> | 2012-03-11 23:58:54 +0000 |
commit | 04d5d0ad0088ce2b8019a02bc7b99c7fedbb58d2 (patch) | |
tree | b37956689ed321d7f8443fce13b8f2159a7badd4 /libgcc/longlong.h | |
parent | fc8ee8c8b198cc38a2452cfb273daf3ce2103963 (diff) | |
download | gcc-04d5d0ad0088ce2b8019a02bc7b99c7fedbb58d2.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
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@185202 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libgcc/longlong.h')
-rw-r--r-- | libgcc/longlong.h | 3 |
1 files changed, 2 insertions, 1 deletions
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)), \ |