Next: PDP-11 Options, Previous: Nvidia PTX Options, Up: Submodel Options
These options are defined for OpenRISC:
-mboard=
nameor1ksim
.
-mnewlib
-msoft-div
-mhard-div
l.div
, l.divu
) instructions.
This default is hardware divide.
-msoft-mul
-mhard-mul
l.mul
, l.muli
) instructions.
This default is hardware multiply.
-msoft-float
-mhard-float
-mdouble-float
-munordered-float
lf.sfun*
) instructions. By default
functions from libgcc are used to perform unordered floating point
compare and set flag operations.
-mcmov
l.cmov
) instructions. By
default the equivalent will be generated using set and branch.
-mror
l.ror
) instructions. By default
functions from libgcc are used to perform rotate right operations.
-mrori
l.rori
) instructions.
By default functions from libgcc are used to perform rotate right with
immediate operations.
-msext
l.ext*
) instructions. By default
memory loads are used to perform sign extension.
-msfimm
l.sf*i
)
instructions. By default extra instructions will be generated to store the
immediate to a register first.
-mshftimm
l.srai
, l.srli
,
l.slli
) instructions. By default extra instructions will be generated
to store the immediate to a register first.
-mcmodel=small
-mcmodel=large