[llvm] r285577 - [SystemZ] Rework processor feature definitions and add -mcpu=archX support

Ulrich Weigand via llvm-commits llvm-commits at lists.llvm.org
Wed Nov 2 06:53:48 PDT 2016


"Kevin P. Neal" <kpn at neutralgood.org> wrote on 02.11.2016 14:35:57:
> On Mon, Oct 31, 2016 at 02:33:30PM -0000, Ulrich Weigand via llvm-
> commits wrote:
> > - Add optional aliases for the -mcpu processor names according to the
> >   level of the z/Architecture, for compatibility with other compilers
> >   on the platform.  The supported aliases are:
> >     -mcpu=arch8  equals  -mcpu=z10
> >     -mcpu=arch9  equals  -mcpu=z196
> >     -mcpu=arch10 equals  -mcpu=zEC12
> >     -mcpu=arch11 equals  -mcpu=z13
>
> This appears to match the naming used by IBM C for z/OS, where support
for
> the z10 is option ARCH(8), z196 = ARCH(9), etc. Is this on purpose? Does
> z/OS count as part of the "platform"? Can we count on these lining up
> the same in the future such that IBM C for z/OS documentation can be used
> to figure out llvm options in the future?

Yes, this is on purpose.  However, we're primarily looking for
compatibility with XLC on Linux on z, not so much with XLC on z/OS,
but for the architecture levels, both use the same scheme.  We're
certainly planning to continue the archX scheme for future machines,
but apart from that there's no plan to be fully compatible with all
other *z/OS* compiler options (some don't even make sense on Linux).

Bye,
Ulrich
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20161102/ca23eebe/attachment.html>


More information about the llvm-commits mailing list