summaryrefslogtreecommitdiff
path: root/gcc/longlong.h
diff options
context:
space:
mode:
authordrow <drow@138bc75d-0d04-0410-961f-82ee72b054a4>2005-11-04 15:26:56 +0000
committerdrow <drow@138bc75d-0d04-0410-961f-82ee72b054a4>2005-11-04 15:26:56 +0000
commitf6f5e27d0a877e25600fb6262c0acae3d2c3699a (patch)
tree318e1a803b9b44f45793904bbea771d323d39a32 /gcc/longlong.h
parent027c209cb08a8e85a77ffe72e819a4855092cb85 (diff)
downloadgcc-f6f5e27d0a877e25600fb6262c0acae3d2c3699a.tar.gz
* longlong.h (add_ssaaaa): Clobber condition code register
in ARM version. (sub_ddmmss): Likewise. (umul_ppmm): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@106491 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/longlong.h')
-rw-r--r--gcc/longlong.h6
1 files changed, 3 insertions, 3 deletions
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__ */