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: m68k bootstrapping broken


Andreas Schwab wrote:
Bernardo Innocenti <bernie@develer.com> writes:
Andreas Schwab wrote:
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.

You mean with a simple crosscompiler?

No, native.

I'm confused: you do get differences between different builds builds of gcc compiled from the same source tree?

--
 // Bernardo Innocenti - Develer S.r.l., R&D dept.
\X/  http://www.develer.com/



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