public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* Coldfire Diffs
@ 1997-09-19 11:51 Joel Sherrill
  1997-12-21 14:20 ` Jeffrey A Law
  0 siblings, 1 reply; 2+ messages in thread
From: Joel Sherrill @ 1997-09-19 11:51 UTC (permalink / raw)
  To: egcs; +Cc: David Fiddes

Below my signature are some diffs from the win32 cdk which may or may not
be included in current egcs snapshots.  There are about 200 lines of diffs
to about 5 files.  I am pretty sure some are already included in egcs
snapshots.  

David Fiddes <D.J.Fiddes@hw.ac.uk> uses these to build a Coldfire toolset
he has been graciously distributing to those interested in the Coldfire. 
At my request, he sent these to me so I could try to helkp get them into
the egcs tree.

Could someone knowledgeable about the Coldfire please check these out?

Thanks.

--joel
Joel Sherrill                    Director of Research & Development
joel@OARcorp.com                 On-Line Applications Research
Ask me about RTEMS: a free RTOS  Huntsville AL 35805
   Support Available             (205) 722-9985

begin 604 coldfire.dif
M9&EF9B`M<B!C9&LO8V]N9FEG+6UL+FEN(&-D:RUO<FEG+V-O;F9I9RUM;"YI
M;@HR-#DL,C4Y9#(T.`H\("`@("`@("`@:68@6R!X)&5N86)L95]M-3(P,"`]
M('AN;R!="CP@("`@("`@("!T:&5N"CP@("`@("`@("`@(&]L9%]M=6QT:61I
M<G,](B1[;75L=&ED:7)S?2(*/"`@("`@("`@("`@;75L=&ED:7)S/2(B"CP@
M("`@("`@("`@(&9O<B!X(&EN("1[;VQD7VUU;'1I9&ER<WT[(&1O"CP@("`@
M("`@("`@("`@8V%S92`B)'@B(&EN"CP@("`@("`@("`@("`@("`J;34R,#`J
M("D@.B`[.PH\("`@("`@("`@("`@("`@*BD@;75L=&ED:7)S/2(D>VUU;'1I
M9&ER<WT@)'MX?2(@.SL*/"`@("`@("`@("`@("!E<V%C"CP@("`@("`@("`@
M(&1O;F4*/"`@("`@("`@(&9I"F1I9F8@+7(@8V1K+V=C8R]C;VYF:6<O;38X
M:R]M-CAK+FUD(&-D:RUO<FEG+V=C8R]C;VYF:6<O;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)2LL)3!<(CL*/"`@("`@("`@('T*/"`@("`@("!E;'-E
M"CP@("`@("`@("!R971U<FX@7")F;6]V924N>"`E9C$L)3!<(CL*/"`@("`@
M?0H\("`@<F5T=7)N(&]U='!U=%]M;W9E7V1O=6)L92`H;W!E<F%N9',I.PH\
M('T*/"`B*0H\(#L[.R!#2$%.1T5$"CP@*&1E9FEN95]I;G-N(")M;W9F7S4R
M,#`B"CP@("!;*'-E="`H;6%T8VA?;W!E<F%N9#I81B`P(")N;VYI;6UE9&EA
M=&5?;W!E<F%N9"(@(CUR;2QR9BPF<F8\/B(I"CP@"2AM871C:%]O<&5R86YD
M.EA&(#$@(FYO;FEM;65D:6%T95]O<&5R86YD(B`B<F8L;2QR;V8\/B(I*5T*
M/"`@("(A5$%21T547S8X.#@Q("8F(%1!4D=%5%\U,C`P(@HM+2T*/B`@("(A
M(%1!4D=%5%\V.#@X,2(*,C(V."PR,C<S8S(R,3`*/"`@("`@("`@('T*/"`@
M("`@("!I9B`H5$%21T547S4R,#`@)B8@(41!5$%?4D5'7U`H;W!E<F%N9'-;
M,%TI*0H\("`@("`@("`@>PH\("`@("`@("`@("`@(&]P97)A;F1S6S%=(#T@
M9V5N7W)T>"`H4D5'+"!326UO9&4L(#`I.PH\("`@("`@("`@("`@(')E='5R
M;B!<(FUO=F4E+FP@)3(L)3%<.V%D9"4N;"`E,2PE,%PB.PH\("`@("`@("`@
M?0HM+2T*/B`)?0HR,C<X+#(R-SED,C(Q-`H\(`H\(`HV,3(R+#8Q-S=C-C`U
M-PH\("`@(B%405)'151?-3(P,"(*/"`@("(J"CP@(VEF9&5F($%335]21515
M4DY?0T%315]*54U0"CP@($%335]215154DY?0T%315]*54U0.PH\("-E;'-E
M"CP@(VEF9&5F(%-'4PH\("-I9F1E9B!!4TU?3U544%547T-!4T5?3$%"14P*
M/"`@(&EF("A405)'151?-3(P,"D@"CP@("`@(')E='5R;B!<(F5X="4N;"`E
M,%P[:FUP(#8H)25P8RPE,"YL*5PB.P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M;&EB:6)E<G1Y"BTM+0H^($E/7T1)4B`@("`]("0H355,5$E"54E,1%1/4"DN
M+B]L:6)I;PH^($Q)0DE"15)465]$25(@/2`D*$U53%1)0E5)3$143U`I+BXO
*;&EB:6)E<G1Y"DQ)
`
end


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Coldfire Diffs
  1997-09-19 11:51 Coldfire Diffs Joel Sherrill
@ 1997-12-21 14:20 ` Jeffrey A Law
  0 siblings, 0 replies; 2+ messages in thread
From: Jeffrey A Law @ 1997-12-21 14:20 UTC (permalink / raw)
  To: David Fiddes; +Cc: egcs, Joel Sherrill

  In message <Pine.BSF.3.96.970919134654.21863C-100000@vespucci.advicom.net>Joel wrote:
  > 
  > Below my signature are some diffs from the win32 cdk which may or may not
  > be included in current egcs snapshots.  There are about 200 lines of diffs
  > to about 5 files.  I am pretty sure some are already included in egcs
  > snapshots.  
  > 
  > David Fiddes <D.J.Fiddes@hw.ac.uk> uses these to build a Coldfire toolset
  > he has been graciously distributing to those interested in the Coldfire. 
  > At my request, he sent these to me so I could try to helkp get them into
  > the egcs tree.
Unfortunately, the changes are in old-style diff format, which makes them
extremely difficult to read or apply.  So if my analysis is incorrect, it
may be due to not being able to 100% be sure exactly what patterns the
changes apply to.  It's also worth noting there are no testcases or explanation
of why the patches are needed, which makes it hard to analyze the changes.


What's the point behind the config-ml.in change?  Shouldn't that be handled
in the m68k target files?

Providing names to the various patterns may be useful, but isn't strictly
necessary as far as I can tell.  If you want to add names for them, please
prefix them with a "*" so as not to cause confusion with named patterns that
have a particular purpose.  Submit this as a separate patch since it is 
independent of coldfire support.

The one actual bugfix for the btst patterns is already in egcs.

I believe your change to the movqi pattern for the coldfire is incorrect
as we had it in our toolchain once and it was failing.  I think egcs has
a correct set of constraints for the movqi pattern on the coldfire.

I also believe your changes to movstrictqi have also been overtaken by
events and are no longer necessary.

Similarly for the XFmode move insn changes and jump table pattern changes.

We've also got the appropriate multilib changes for t-m68kbare.

So, basically I don't see anything in this patch that hasn't already been
addressed in the egcs sources.

So I guess the thing to do is for you to determine if egcs does the right
thing for the code which caused you to make the various changes to the m68k.md
file.  If egcs is still generating incorrect code we'll have to analyze it
further using whatever testcode is causing the compiler to generate incorrect
code.

Thanks,
jeff

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1997-12-21 14:20 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1997-09-19 11:51 Coldfire Diffs Joel Sherrill
1997-12-21 14:20 ` Jeffrey A Law

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).