aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorMark Mitchell <mark@codesourcery.com>2005-11-04 15:26:56 +0000
committerDaniel Jacobowitz <drow@gcc.gnu.org>2005-11-04 15:26:56 +0000
commit74900b5a751204a2b15f1146f41049e69230b733 (patch)
tree318e1a803b9b44f45793904bbea771d323d39a32 /gcc
parent1b38125a351762b5f269822d4af61c16f53a6ddc (diff)
downloadgcc-74900b5a751204a2b15f1146f41049e69230b733.zip
gcc-74900b5a751204a2b15f1146f41049e69230b733.tar.gz
gcc-74900b5a751204a2b15f1146f41049e69230b733.tar.bz2
longlong.h (add_ssaaaa): Clobber condition code register in ARM version.
* 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
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog8
-rw-r--r--gcc/longlong.h6
2 files changed, 11 insertions, 3 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index cfee75f..bb6f9b7 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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>
diff --git a/gcc/longlong.h b/gcc/longlong.h
index 3f42347..f847824 100644
--- a/gcc/longlong.h
+++ b/gcc/longlong.h
@@ -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__ */