linux-mips
[Top] [All Lists]

Re: [PATCH] Fix gcc-3.4.x compilation

To: Thomas Koeller <thomas.koeller@baslerweb.com>
Subject: Re: [PATCH] Fix gcc-3.4.x compilation
From: Richard Sandiford <rsandifo@redhat.com>
Date: Tue, 27 Jul 2004 10:46:20 +0100
Cc: linux-mips@linux-mips.org
In-reply-to: <200407261237.09965.thomas.koeller@baslerweb.com> (Thomas Koeller's message of "Mon, 26 Jul 2004 12:37:09 +0200")
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <200407261237.09965.thomas.koeller@baslerweb.com>
Sender: linux-mips-bounce@linux-mips.org
User-agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux)
Thomas Koeller <thomas.koeller@baslerweb.com> writes:
> Since the meaning of 'accum' used to be 'hi' and 'lo', all its uses
> were clearly redundant.

For the record, that isn't quite true.  GCC internally treated
"accum" as an entirely separate register (which is why it became
such a headache).  In theory, if you have an instruction that
clobbers lo and hi, but doesn't clobber "accum", gcc might think
that a value in "accum" will still be valid.

Richard

<Prev in Thread] Current Thread [Next in Thread>