summaryrefslogtreecommitdiff
path: root/gcc/longlong.h
diff options
context:
space:
mode:
authordavem <davem@138bc75d-0d04-0410-961f-82ee72b054a4>1999-12-06 17:41:19 +0000
committerdavem <davem@138bc75d-0d04-0410-961f-82ee72b054a4>1999-12-06 17:41:19 +0000
commitdab9512aff5eae7f36a0e86b072cf47fae3d90da (patch)
treea7bb7a9b04f8a16d6e9b5b96bc5f4cd37c72e12f /gcc/longlong.h
parent4824a119a23d06d27c917166f1049e346bbaeb39 (diff)
downloadgcc-dab9512aff5eae7f36a0e86b072cf47fae3d90da.tar.gz
* longlong.h: Fix clobbers in SPARC asm statements.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30802 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 d1859ef58ff..37099104688 100644
--- a/gcc/longlong.h
+++ b/gcc/longlong.h
@@ -975,7 +975,7 @@ UDItype __umulsidi3 (USItype, USItype);
: "r" ((USItype) (n1)), \
"r" ((USItype) (n0)), \
"rI" ((USItype) (d)) \
- : "%g1" __AND_CLOBBER_CC)
+ : "g1" __AND_CLOBBER_CC)
#define UDIV_TIME 37
#define count_leading_zeros(count, x) \
do { \
@@ -1031,7 +1031,7 @@ UDItype __umulsidi3 (USItype, USItype);
"=r" ((USItype) (w0)) \
: "%rI" ((USItype) (u)), \
"r" ((USItype) (v)) \
- : "%g1", "%g2" __AND_CLOBBER_CC)
+ : "g1", "g2" __AND_CLOBBER_CC)
#define UMUL_TIME 39 /* 39 instructions */
/* It's quite necessary to add this much assembler for the sparc.
The default udiv_qrnnd (in C) is more than 10 times slower! */
@@ -1064,7 +1064,7 @@ UDItype __umulsidi3 (USItype, USItype);
"=&r" ((USItype) (r)) \
: "r" ((USItype) (d)), \
"1" ((USItype) (n1)), \
- "0" ((USItype) (n0)) : "%g1" __AND_CLOBBER_CC)
+ "0" ((USItype) (n0)) : "g1" __AND_CLOBBER_CC)
#define UDIV_TIME (3+7*32) /* 7 instructions/iteration. 32 iterations. */
#endif /* __sparclite__ */
#endif /* __sparc_v8__ */