aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>1999-12-10 22:29:46 +0100
committerDavid S. Miller <davem@gcc.gnu.org>1999-12-10 13:29:46 -0800
commitd64554f9b2f22e8ca7354311cfc8aa87b6684d0e (patch)
treeb2b03bce142a4dd42ef2b14221cc963a7df774fd /gcc
parentbb66adcad312ccf6bd6b334e456f1c143594d37a (diff)
downloadgcc-d64554f9b2f22e8ca7354311cfc8aa87b6684d0e.zip
gcc-d64554f9b2f22e8ca7354311cfc8aa87b6684d0e.tar.gz
gcc-d64554f9b2f22e8ca7354311cfc8aa87b6684d0e.tar.bz2
longlong.h (__sparc_v9__): Use %rDIGIT instead of %DIGIT where appropriate.
* longlong.h (__sparc_v9__): Use %rDIGIT instead of %DIGIT where appropriate. From-SVN: r30864
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/longlong.h8
2 files changed, 9 insertions, 4 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index f2713b0..f15169e 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+1999-12-10 Jakub Jelinek <jakub@redhat.com>
+
+ * longlong.h (__sparc_v9__): Use %rDIGIT instead of %DIGIT where
+ appropriate.
+
1999-12-10 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* c-parse.in (string): With -Wtraditional, warn if ANSI string
diff --git a/gcc/longlong.h b/gcc/longlong.h
index f76f479..a2e56c4 100644
--- a/gcc/longlong.h
+++ b/gcc/longlong.h
@@ -1185,8 +1185,8 @@ UDItype __umulsidi3 (USItype, USItype);
#if (defined (__sparc_v9__) || (defined (__sparc__) && defined (__arch64__)) \
|| defined (__sparcv9)) && W_TYPE_SIZE == 64
#define add_ssaaaa(sh, sl, ah, al, bh, bl) \
- __asm__ ("addcc %4,%5,%1
- add %2,%3,%0
+ __asm__ ("addcc %r4,%5,%1
+ add %r2,%3,%0
bcs,a,pn %%xcc, 1f
add %0, 1, %0
1:" \
@@ -1199,8 +1199,8 @@ UDItype __umulsidi3 (USItype, USItype);
__CLOBBER_CC)
#define sub_ddmmss(sh, sl, ah, al, bh, bl) \
- __asm__ ("subcc %4,%5,%1
- sub %2,%3,%0
+ __asm__ ("subcc %r4,%5,%1
+ sub %r2,%3,%0
bcs,a,pn %%xcc, 1f
sub %0, 1, %0
1:" \