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.
-mnewlibThis option is ignored; it is for compatibility purposes only. This used to select linker and preprocessor options for use with newlib.
-msoft-div-mhard-divSelect software or hardware divide (l.div, l.divu) instructions. This default is hardware divide.
-msoft-mul-mhard-mulSelect software or hardware multiply (l.mul, l.muli) instructions. This default is hardware multiply.
-msoft-float-mhard-floatSelect software or hardware for floating point operations. The default is software.
-mdouble-floatWhen -mhard-float is selected, enables generation of double-precision floating point instructions. By default functions from libgcc are used to perform double-precision floating point operations.
-munordered-floatWhen -mhard-float is selected, enables generation of unordered floating point compare and set flag (lf.sfun*) instructions. By default functions from libgcc are used to perform unordered floating point compare and set flag operations.
-mcmovEnable generation of conditional move (l.cmov) instructions. By default the equivalent will be generated using set and branch.
-mrorEnable generation of rotate right (l.ror) instructions. By default functions from libgcc are used to perform rotate right operations.
-mroriEnable generation of rotate right with immediate (l.rori) instructions. By default functions from libgcc are used to perform rotate right with immediate operations.
-msextEnable generation of sign extension (l.ext*) instructions. By default memory loads are used to perform sign extension.
-msfimmEnable generation of compare and set flag with immediate (l.sf*i) instructions. By default extra instructions will be generated to store the immediate to a register first.
-mshftimmEnable generation of shift with immediate (l.srai, l.srli, l.slli) instructions. By default extra instructions will be generated to store the immediate to a register first.
-mcmodel=smallGenerate OpenRISC code for the small model: The GOT is limited to 64k. This is the default model.
-mcmodel=largeGenerate OpenRISC code for the large model: The GOT may grow up to 4G in size.
Next: PDP-11 Options, Previous: Nvidia PTX Options, Up: Submodel Options [Contents][Index]
© Free Software Foundation
Licensed under the GNU Free Documentation License, Version 1.3.
https://gcc.gnu.org/onlinedocs/gcc-12.2.0/gcc/OpenRISC-Options.html