This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [patch] Hookize SMALL_REGISTER_CLASSES, make SSE register classes not small
- From: Jan Hubicka <hubicka at ucw dot cz>
- To: Richard Guenther <richard dot guenther at gmail dot com>
- Cc: Steven Bosscher <stevenb dot gcc at gmail dot com>, GCC Patches <gcc-patches at gcc dot gnu dot org>, Jan Hubicka <hubicka at ucw dot cz>, Uros Bizjak <ubizjak at gmail dot com>, Richard Henderson <rth at redhat dot com>
- Date: Mon, 15 Jun 2009 02:19:39 +0200
- Subject: Re: [patch] Hookize SMALL_REGISTER_CLASSES, make SSE register classes not small
- References: <571f6b510906140929n60da6607g132b8df9fda40f51@mail.gmail.com> <84fc9c000906140935h153c4c8cr8ca064099a00b925@mail.gmail.com>
> 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.