longlong.h (add_ssaaaa): Clobber condition code register in ARM version.
authorMark Mitchell <mark@codesourcery.com>
Fri, 4 Nov 2005 15:26:56 +0000 (15:26 +0000)
committerDaniel Jacobowitz <drow@gcc.gnu.org>
Fri, 4 Nov 2005 15:26:56 +0000 (15:26 +0000)
* longlong.h (add_ssaaaa): Clobber condition code register
in ARM version.
(sub_ddmmss): Likewise.
(umul_ppmm): Likewise.

Co-Authored-By: Daniel Jacobowitz <dan@codesourcery.com>
From-SVN: r106491

gcc/ChangeLog
gcc/longlong.h

index cfee75f54c4baa720363e2fbdd67058185bb5514..bb6f9b762d2dad0fe9c92b174a86e932a15b8fb3 100644 (file)
@@ -1,3 +1,11 @@
+2005-11-04  Mark Mitchell  <mark@codesourcery.com>
+           Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * longlong.h (add_ssaaaa): Clobber condition code register
+       in ARM version.
+       (sub_ddmmss): Likewise.
+       (umul_ppmm): Likewise.
+
 2005-11-04  Daniel Jacobowitz  <dan@codesourcery.com>
            Paul Brook  <paul@codesourcery.com>
            Phil Blundell  <pb@reciva.com>
index 3f42347c7f36c944e53f3b52eea5855bf5deea12..f84782487c51359ed8f81f0b194e9280bf062714 100644 (file)
@@ -193,7 +193,7 @@ UDItype __umulsidi3 (USItype, USItype);
           : "%r" ((USItype) (ah)),                                     \
             "rI" ((USItype) (bh)),                                     \
             "%r" ((USItype) (al)),                                     \
-            "rI" ((USItype) (bl)))
+            "rI" ((USItype) (bl)) __CLOBBER_CC)
 #define sub_ddmmss(sh, sl, ah, al, bh, bl) \
   __asm__ ("subs       %1, %4, %5\n\tsbc       %0, %2, %3"             \
           : "=r" ((USItype) (sh)),                                     \
@@ -201,7 +201,7 @@ UDItype __umulsidi3 (USItype, USItype);
           : "r" ((USItype) (ah)),                                      \
             "rI" ((USItype) (bh)),                                     \
             "r" ((USItype) (al)),                                      \
-            "rI" ((USItype) (bl)))
+            "rI" ((USItype) (bl)) __CLOBBER_CC)
 #define umul_ppmm(xh, xl, a, b) \
 {register USItype __t0, __t1, __t2;                                    \
   __asm__ ("%@ Inlined umul_ppmm\n"                                    \
@@ -221,7 +221,7 @@ UDItype __umulsidi3 (USItype, USItype);
             "=r" ((USItype) (xl)),                                     \
             "=&r" (__t0), "=&r" (__t1), "=r" (__t2)                    \
           : "r" ((USItype) (a)),                                       \
-            "r" ((USItype) (b)));}
+            "r" ((USItype) (b)) __CLOBBER_CC );}
 #define UMUL_TIME 20
 #define UDIV_TIME 100
 #endif /* __arm__ */