Next: MicroBlaze Options, Previous: MCore Options, Up: Submodel Options [Contents][Index]
-mabsdiffEnables the abs instruction, which is the absolute difference
between two registers.
-mall-optsEnables all the optional instructions—average, multiply, divide, bit operations, leading zero, absolute difference, min/max, clip, and saturation.
-maverageEnables the ave instruction, which computes the average of two
registers.
-mbased=nVariables of size n bytes or smaller are placed in the
.based section by default. Based variables use the $tp
register as a base register, and there is a 128-byte limit to the
.based section.
-mbitopsEnables the bit operation instructions—bit test (btstm), set
(bsetm), clear (bclrm), invert (bnotm), and
test-and-set (tas).
-mc=nameSelects which section constant data is placed in. name may be ‘tiny’, ‘near’, or ‘far’.
-mclipEnables the clip instruction. Note that -mclip is not
useful unless you also provide -mminmax.
-mconfig=nameSelects one of the built-in core configurations. Each MeP chip has
one or more modules in it; each module has a core CPU and a variety of
coprocessors, optional instructions, and peripherals. The
MeP-Integrator tool, not part of GCC, provides these
configurations through this option; using this option is the same as
using all the corresponding command-line options. The default
configuration is ‘default’.
-mcopEnables the coprocessor instructions. By default, this is a 32-bit coprocessor. Note that the coprocessor is normally enabled via the -mconfig= option.
-mcop32Enables the 32-bit coprocessor’s instructions.
-mcop64Enables the 64-bit coprocessor’s instructions.
-mivc2Enables IVC2 scheduling. IVC2 is a 64-bit VLIW coprocessor.
-mdcCauses constant variables to be placed in the .near section.
-mdivEnables the div and divu instructions.
-mebGenerate big-endian code.
-melGenerate little-endian code.
-mio-volatileTells the compiler that any variable marked with the io
attribute is to be considered volatile.
-mlCauses variables to be assigned to the .far section by default.
-mleadzEnables the leadz (leading zero) instruction.
-mmCauses variables to be assigned to the .near section by default.
-mminmaxEnables the min and max instructions.
-mmultEnables the multiplication and multiply-accumulate instructions.
-mno-optsDisables all the optional instructions enabled by -mall-opts.
-mrepeatEnables the repeat and erepeat instructions, used for
low-overhead looping.
-msCauses all variables to default to the .tiny section. Note
that there is a 65536-byte limit to this section. Accesses to these
variables use the %gp base register.
-msaturEnables the saturation instructions. Note that the compiler does not
currently generate these itself, but this option is included for
compatibility with other tools, like as.
-msdramLink the SDRAM-based runtime instead of the default ROM-based runtime.
-msimLink the simulator run-time libraries.
-msimnovecLink the simulator runtime libraries, excluding built-in support for reset and exception vectors and tables.
-mtfCauses all functions to default to the .far section. Without
this option, functions default to the .near section.
-mtiny=nVariables that are n bytes or smaller are allocated to the
.tiny section. These variables use the $gp base
register. The default for this option is 4, but note that there’s a
65536-byte limit to the .tiny section.
Next: MicroBlaze Options, Previous: MCore Options, Up: Submodel Options [Contents][Index]