* longlong.h: Fix clobbers in SPARC asm statements.
authorJakub Jelinek <jakub@redhat.com>
Mon, 6 Dec 1999 17:41:19 +0000 (18:41 +0100)
committerDavid S. Miller <davem@gcc.gnu.org>
Mon, 6 Dec 1999 17:41:19 +0000 (09:41 -0800)
From-SVN: r30802

gcc/ChangeLog
gcc/longlong.h

index 48fd720dfdd4ba84d63b2dc57150d238c4ba09f6..cd606d127ad736ced94f0c3cfb6c680b9185808c 100644 (file)
@@ -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
index d1859ef58ff1baeefad9bb128d876876e693dce1..3709910468815a11229169556bc1c4c2c2aab363 100644 (file)
@@ -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__ */