[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [patch 4.1.3] Correctly handle zero operands with gcc on PA
From: |
Torbjorn Granlund |
Subject: |
Re: [patch 4.1.3] Correctly handle zero operands with gcc on PA |
Date: |
28 May 2004 01:06:30 +0200 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 |
> --- longlong.h.orig Fri May 21 15:15:07 2004
> +++ longlong.h Fri May 21 15:16:05 2004
> @@ -206,11 +206,11 @@ long __MPN(count_leading_zeros) _PROTO (
> is just a case of no direct support for 2.0n but treating it like 1.0.
*/
> #if defined (__GNUC__) && ! defined (_LONG_LONG_LIMB)
> #define add_ssaaaa(sh, sl, ah, al, bh, bl) \
> - __asm__ ("add %4,%5,%1\n\tadd,dc %2,%3,%0"
\
> + __asm__ ("add %r4,%r5,%1\n\tadd,dc %r2,%r3,%0" \
> : "=r" (sh), "=&r" (sl) \
> : "rM" (ah), "rM" (bh), "%rM" (al), "rM" (bl))
> #define sub_ddmmss(sh, sl, ah, al, bh, bl) \
> - __asm__ ("sub %4,%5,%1\n\tsub,db %2,%3,%0"
\
> + __asm__ ("sub %r4,%r5,%1\n\tsub,db %r2,%r3,%0" \
> : "=r" (sh), "=&r" (sl) \
> : "rM" (ah), "rM" (bh), "rM" (al), "rM" (bl))
Looks likely, but I don't speak enough hppa to evaluate this, Cc'ed to
someone who does. (This is the 2.0w macros.)
These changes look right (and are in fact in the mainline cvs).
--
Torbjörn