diff options
author | Jakub Jelinek <jakub@redhat.com> | 1999-12-06 18:41:19 +0100 |
---|---|---|
committer | David S. Miller <davem@gcc.gnu.org> | 1999-12-06 09:41:19 -0800 |
commit | 4de0633f4d8f572fa0fe041768e6695eeafb12f1 (patch) | |
tree | a7bb7a9b04f8a16d6e9b5b96bc5f4cd37c72e12f /gcc | |
parent | 3a2ea093b362af4f2c3321b4653a1d3d0ba50470 (diff) | |
download | gcc-4de0633f4d8f572fa0fe041768e6695eeafb12f1.zip gcc-4de0633f4d8f572fa0fe041768e6695eeafb12f1.tar.gz gcc-4de0633f4d8f572fa0fe041768e6695eeafb12f1.tar.bz2 |
* longlong.h: Fix clobbers in SPARC asm statements.
From-SVN: r30802
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 2 | ||||
-rw-r--r-- | gcc/longlong.h | 6 |
2 files changed, 5 insertions, 3 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 48fd720..cd606d1 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -3,6 +3,8 @@ * config/sparc/sparc.md (return_losum_di): Fix typo in asm output string. + * longlong.h: Fix clobbers in SPARC asm statements. + Mon Dec 6 12:24:52 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu> * fold-const.c (optimize_bit_field_compare): Only use one mode diff --git a/gcc/longlong.h b/gcc/longlong.h index d1859ef..3709910 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__ */ |