This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: FYI: -march/-mcpu patch for mips
- To: Philip Blundell <philb at gnu dot org>
- Subject: Re: FYI: -march/-mcpu patch for mips
- From: "Zack Weinberg" <zackw at stanford dot edu>
- Date: Sat, 23 Jun 2001 02:08:19 -0700
- Cc: "H . J . Lu" <hjl at lucon dot org>, Eric Christopher <echristo at redhat dot com>, gcc-patches at gcc dot gnu dot org, binutils at sourceware dot cygnus dot com
On Sat, Jun 23, 2001 at 10:01:18AM +0100, Philip Blundell wrote:
> >It was never meant to be backwards compatible. That is why I also
> >changed some testcases. In fact, the new -march has the same
> >affect as the old -mcpu. Since my Linux mips toolchain is new for
> >everyone, there is no compatibility problem.
>
> How about: have -march set the ISA, -mtune set the scheduling, and -mcpu set
> both. This is what GCC does for ARM, and it sounds like it should be pretty
> much backwards compatible with the old scheme.
Whatever's done should be consistent across *all* architectures. That
was the whole point of -march and -mtune when they were added way back
when.
--
zw "Shouldn't a witch be eccentric?"
"I hope not. I've never been good at cackling."
-- Reinder Dijkhuis, _Rogues of Clwyd-Rhan_