FYI: -march/-mcpu patch for mips

Zack Weinberg zackw@stanford.edu
Sat Jun 23 02:08:00 GMT 2001


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_



More information about the Binutils mailing list