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


On Tue, May 4, 2010 at 1:51 PM, Kaz Kojima <kkojima@rr.iij4u.or.jp> wrote:
> Steven Bosscher <stevenb.gcc@gmail.com> wrote:
>> Take 4. The spam filter is apparently convinced that this patch is
>> spam. Trying as .gz now...
>
> I've tried it on sh4-unknown-linux-gnu. ?With a tiny fix
> below, it can be built and regtested successfully.

Ah, I specifically tested SH one and a half year ago when I first
submitted this patch, but I forgot to double-check before committing
that this still works. Sorry for the breakage.

Ciao!
Steven



> Regards,
> ? ? ? ?kaz
> --
> --- config/sh/sh.c~ ? ? 2010-05-03 11:36:58.000000000 +0900
> +++ config/sh/sh.c ? ? ?2010-05-04 09:19:39.000000000 +0900
> @@ -11255,7 +11255,7 @@ sh_cannot_change_mode_class (enum machin
> ?/* Return true if registers in machine mode MODE will likely be
> ? ?allocated to registers in small register classes. ?*/
>
> -static bool
> +bool
> ?sh_small_register_classes_for_mode_p (enum machine_mode mode ATTRIBUTE_UNUSED)
> ?{
> ? return (! TARGET_SHMEDIA);
>


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