This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [patch] Hookize SMALL_REGISTER_CLASSES, make SSE register classes not small


> On Sun, Jun 14, 2009 at 6:29 PM, Steven Bosscher<stevenb.gcc@gmail.com> wrote:
> > Hi,
> >
> > Attached is a patch to hookize the SMALL_REGISTER_CLASSES target
> > macro. ?The purpose of the patch is to make it possible to have
> > SMALL_REGISTER_CLASSES be false for some register classes but not for
> > all. This was discussed before in a RFC posting here:
> > http://gcc.gnu.org/ml/gcc-patches/2008-12/msg00590.html
> >
> > Bootstrapped and tested (-m32/-m64) on x86-64_unknown-linux-gnu. ?OK for trunk?
> 
> The middle-end and general target conversion bits are ok.  I'd like the x86
> specific change to be acked by a target maintainer.

Hmm, SSE0 has special register class (SSE_FIRST_REG) and it is used for
parameter passing as hard regs.  Can't one construct ICE using those?

Honza
> 
> Thanks,
> Richard.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]