This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: S/390: -march= and -mcpu= options
- From: David Edelsohn <dje at watson dot ibm dot com>
- To: Daniel Jacobowitz <drow at mvista dot com>
- Cc: Ulrich Weigand <weigand at immd1 dot informatik dot uni-erlangen dot de>, hpenner at de dot ibm dot com, gcc-patches at gcc dot gnu dot org
- Date: Mon, 23 Dec 2002 23:52:52 -0500
- Subject: Re: S/390: -march= and -mcpu= options
>>>>> Daniel Jacobowitz writes:
Daniel> Oh, now that's a bit of a stretch. From a quick inventory of the
Daniel> current head sources, the only architectures which implement both
Daniel> -march and -mtune are ARM, CRIS, and MIPS. I know for a fact that
Daniel> -mcpu is deprecated on MIPS targets; in fact I think it's been removed
Daniel> since I last checked, since it isn't in TARGET_OPTIONS any more. The
Daniel> consensus among the MIPS maintainers was that it caused more confusion
Daniel> than simplicity.
-march: arm, cris, i386, mips
-mcpu: alpha, arc, arm, c4x, cris, frv, h8300, i386, rs6000, s390, sparc
-mtune: alpha, arm, cris, mips, rs6000, sparc
I would not consider the current Mips port in the FSF sources to
be a good precedent for GCC ports.
David