This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [m68k] gcc-3.4.0 fails for ColdFire(does not satisfy constraints)
>On Sun, May 30, 2004 at 06:13:23AM +0200, Bernardo Innocenti wrote:
>> > * config/m68k/m68k.h: disallow bytes in address registers.
>> > * config/m68k/m68k.c: Likewise.
>
>This seems reasonable. I doubt you get much benefit from holding
>bytes in address registers to begin with.
>
>> > add peephole2
>> > to use a data register to hold the constant for the add if
>> > one is available.
>
>First, this is an unrelated change, so it should have been
>submitted separately. Second, don't you want to *only* perform
>this peephole for immediates outside -8 ... 8, i.e. those that
>can be handled by addq.l directly?
I'll rework this part of the patch and submit seperately.
--
Peter Barada
peter@the-baradas.com