This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: i386 string patterns vs global registers
- From: Michael Matz <matz at suse dot de>
- To: Richard Henderson <rth at redhat dot com>
- Cc: Fergus Henderson <fjh at cs dot mu dot oz dot au>, <gcc at gcc dot gnu dot org>
- Date: Wed, 12 Feb 2003 11:40:14 +0100 (CET)
- Subject: Re: i386 string patterns vs global registers
Hi,
On Wed, 12 Feb 2003, Richard Henderson wrote:
> > If someone introduces a patch which breaks such code, and I ask for the
> > patch to be reverted, can I expect that the request will be honoured?
>
> I think that would depend on the patch, but probably yes.
Are you sure that current GCC works with only three registers? We would
be left with %eax, %edx and %ecx (at least two of them are besides each
other). With this constrained set we have a hard time implementing long
long arithmetics (it's possible, but I wouldn't bet on it right now).
Ciao,
Michael.