This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [3.4-BIB] x86-64 sibcall fixes try III
> On Sun, Oct 27, 2002 at 10:57:01PM +0100, Jan Hubicka wrote:
> > We can eigther work around the class as i've mentioned, or use just one
> > class (and make 'v' NO_REGS for i386) if this is not acceptable.
>
> First, I don't think a class is needed for x86 at all.
> There's pretty much no reason _not_ to use ecx all the
> time as the current class preferencing will choose.
>
> Second, even if we did add a new register class, we don't
> need two classes for 32 and 64 bit. We just need to change
> the contents of the class based on the switch.
The reg_class_content is const array. We can get around that of course.
Honza
>
>
> r~