diff options
author | nickc <nickc@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-06-15 10:40:44 +0000 |
---|---|---|
committer | nickc <nickc@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-06-15 10:40:44 +0000 |
commit | a1460a402ad7b344f60e60188ffd76450d9b5ad4 (patch) | |
tree | 7814152137afa086a3b575d213e63fc171f95492 /gcc/longlong.h | |
parent | 9b931277ec161187b7589222d8af50e79d254fc8 (diff) | |
download | gcc-a1460a402ad7b344f60e60188ffd76450d9b5ad4.tar.gz |
* longlong.h: Fix macros for m32r add_ssaaaa and sub_ddmmss.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@83174 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/longlong.h')
-rw-r--r-- | gcc/longlong.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gcc/longlong.h b/gcc/longlong.h index 0f5d05ffe2d..05a706517b8 100644 --- a/gcc/longlong.h +++ b/gcc/longlong.h @@ -376,17 +376,17 @@ UDItype __umulsidi3 (USItype, USItype); #if defined (__M32R__) && W_TYPE_SIZE == 32 #define add_ssaaaa(sh, sl, ah, al, bh, bl) \ /* The cmp clears the condition bit. */ \ - __asm__ ("cmp %0,%0\n\taddx %%5,%1\n\taddx %%3,%0" \ + __asm__ ("cmp %0,%0\n\taddx %1,%5\n\taddx %0,%3" \ : "=r" ((USItype) (sh)), \ "=&r" ((USItype) (sl)) \ - : "%0" ((USItype) (ah)), \ + : "0" ((USItype) (ah)), \ "r" ((USItype) (bh)), \ - "%1" ((USItype) (al)), \ + "1" ((USItype) (al)), \ "r" ((USItype) (bl)) \ : "cbit") #define sub_ddmmss(sh, sl, ah, al, bh, bl) \ /* The cmp clears the condition bit. */ \ - __asm__ ("cmp %0,%0\n\tsubx %5,%1\n\tsubx %3,%0" \ + __asm__ ("cmp %0,%0\n\tsubx %1,%5\n\tsubx %0,%3" \ : "=r" ((USItype) (sh)), \ "=&r" ((USItype) (sl)) \ : "0" ((USItype) (ah)), \ |