From: Mark Mitchell Date: Fri, 4 Nov 2005 15:26:56 +0000 (+0000) Subject: longlong.h (add_ssaaaa): Clobber condition code register in ARM version. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=74900b5a751204a2b15f1146f41049e69230b733;p=gcc.git 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 From-SVN: r106491 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index cfee75f54c4..bb6f9b762d2 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,11 @@ +2005-11-04 Mark Mitchell + Daniel Jacobowitz + + * longlong.h (add_ssaaaa): Clobber condition code register + in ARM version. + (sub_ddmmss): Likewise. + (umul_ppmm): Likewise. + 2005-11-04 Daniel Jacobowitz Paul Brook Phil Blundell diff --git a/gcc/longlong.h b/gcc/longlong.h index 3f42347c7f3..f84782487c5 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__ */