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: Ulrich Weigand <weigand at immd1 dot informatik dot uni-erlangen dot de>
- To: dje at watson dot ibm dot com
- Cc: drow at mvista dot com, hpenner at de dot ibm dot com, gcc-patches at gcc dot gnu dot org
- Date: Mon, 23 Dec 2002 23:42:21 +0100 (MET)
- Subject: Re: S/390: -march= and -mcpu= options
David Edelsohn wrote:
>First there are backward compatibility issues in a complete s390
>port.
Which issues are you thinking of? Up to now, the s390 port has
never accepted any of the options under discussion now, so there
are no old options to be compatible with ...
>Second, the people who participated in the earlier discussion
>agreed that there should be a shorthand.
Why shouldn't -march=z900 be enough? The compiler has to
select *some* scheduling model, and it would be silly to
schedule for a CPU the generated code cannot run on, thus
it would be reasonable to default to -mtune=z900 if
-march=z900 is given. What should then be the difference
between -mcpu=z900 and -march=z900?
Bye,
Ulrich
--
Dr. Ulrich Weigand
weigand@informatik.uni-erlangen.de