Next: PDP-11 Options, Previous: Nvidia PTX Options, Up: Submodel Options [Contents][Index]
These options are defined for OpenRISC:
-mboard=nameConfigure a board specific runtime.  This will be passed to the linker for
newlib board library linking.  The default is or1ksim.
-mnewlibFor compatibility, it’s always newlib for elf now.
-mhard-divGenerate code for hardware which supports divide instructions. This is the default.
-mhard-mulGenerate code for hardware which supports multiply instructions. This is the default.
-mcmovGenerate code for hardware which supports the conditional move (l.cmov)
instruction.
-mrorGenerate code for hardware which supports rotate right instructions.
-msextGenerate code for hardware which supports sign-extension instructions.
-msfimmGenerate code for hardware which supports set flag immediate (l.sf*i)
instructions.
-mshftimmGenerate code for hardware which supports shift immediate related instructions
(i.e. l.srai, l.srli, l.slli, 1.rori).  Note, to
enable generation of the l.rori instruction the -mror flag must
also be specified.
-msoft-divGenerate code for hardware which requires divide instruction emulation.
-msoft-mulGenerate code for hardware which requires multiply instruction emulation.