]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
For Michael Hope.
authorMichael Hope <michael.hope@linaro.org>
Sun, 11 Mar 2012 23:58:54 +0000 (23:58 +0000)
committerRamana Radhakrishnan <ramana@gcc.gnu.org>
Sun, 11 Mar 2012 23:58:54 +0000 (23:58 +0000)
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

libgcc/ChangeLog
libgcc/longlong.h

index 4d8294b44f63a4e4d44e50d7c7aaeeef1354d02b..fd60295f760573fb30f1593de00d0d5301df39ef 100644 (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
index 1a839dd0d302069c880f398fd6f4503aa52c863b..202637714afa1d8a760786a5f5a6e1478686ebca 100644 (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)),                                     \