This is the mail archive of the gcc@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: m68k bootstrapping broken


Bernardo Innocenti <bernie@develer.com> writes:

> Richard Zidlicky wrote:
>> Hi,
>> bootstrapping with "languages=c" just completed. The argpointer
>> elimination problem still remains - crosscompiler does it correctly,
>> bootstrapped compiler doesnt.
>
> I've seen this too, but it doesn't always seem to be
> related with argptr elimination.
>
> Look at this change between stage2/mkdeps.o and
> stage3/mkdeps.o:
>
>  00000000 <munge>:
>     0:  4e56 0000       linkw %fp,#0
>     4:  48e7 3020       moveml %d2-%d3/%a2,%sp@-
> -   8:  242e 0008       movel %fp@(8),%d2
> -   c:  2442            moveal %d2,%a2
> +   8:  246e 0008       moveal %fp@(8),%a2
> +   c:  240a            movel %a2,%d2
>     e:  91c8            subal %a0,%a0
>    10:  1012            moveb %a2@,%d0
>    12:  6718            beqs 2c <munge+0x2c>
>
> Both versions are fine, but I wonder why a different
> instruction pattern has been generated.

I see such spurious differences from time to time on ia64 as well.  It
looks like a generic problem.

Andreas.

-- 
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux AG, Maxfeldstraße 5, 90409 Nürnberg, Germany
Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."


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