The following table lists all available s390 specific options:
-m31 | -m64
These options are only available with the ELF object file format, and require that the necessary BFD support has been included (on a 31-bit platform you must add –enable-64-bit-bfd on the call to the configure script to enable 64-bit usage and use s390x as target platform).
-mesa | -mzarch
The 64-bit instructions are only available with the z/Architecture mode. The combination of ‘-m64’ and ‘-mesa’ results in a warning message.
-march=
CPUg5
(or arch3
),
g6
,
z900
(or arch5
),
z990
(or arch6
),
z9-109
,
z9-ec
(or arch7
),
z10
(or arch8
),
z196
(or arch9
),
zEC12
(or arch10
),
z13
(or arch11
),
z14
(or arch12
), and
arch13
).
Assembling an instruction that is not supported on the target processor results in an error message.
The processor names starting with arch
refer to the edition
number in the Principle of Operations manual. They can be used as
alternate processor names and have been added for compatibility with
the IBM XL compiler.
arch3
, g5
and g6
cannot be used with the
‘-mzarch’ option since the z/Architecture mode is not supported
on these processor levels.
There is no arch4
option supported. arch4
matches
-march=arch5 -mesa
.
-mregnames
-mno-regnames
-mwarn-areg-zero