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


Steven Bosscher <stevenb.gcc@gmail.com> wrote:
> 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 SH part is OK with removing static keyword here:

> +++ config/sh/sh.c	(working copy)
[snip]
> +static bool
> +sh_small_register_classes_for_mode_p (enum machine_mode mode ATTRIBUTE_UNUSED)
> +{

Regards,
	kaz


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