1 ; OpenRISC command line options
3 ; Copyright (C) 2010-2020 Free Software Foundation, Inc.
5 ; This file is part of GCC.
7 ; GCC is free software; you can redistribute it and/or modify it under
8 ; the terms of the GNU General Public License as published by the Free
9 ; Software Foundation; either version 3, or (at your option) any later
12 ; GCC is distributed in the hope that it will be useful, but WITHOUT ANY
13 ; WARRANTY; without even the implied warranty of MERCHANTABILITY or
14 ; FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
17 ; You should have received a copy of the GNU General Public License
18 ; along with GCC; see the file COPYING3. If not see
19 ; <http://www.gnu.org/licenses/>.
21 ; See the GCC internals manual (options.texi) for a description of
25 Target RejectNegative InverseMask(SOFT_DIV)
26 Enable generation of hardware divide (l.div, l.divu) instructions. This is the
27 default; use -msoft-div to override.
30 Target RejectNegative Mask(SOFT_DIV)
31 Enable generation of binaries which use functions from libgcc to perform divide
32 operations. The default is -mhard-div.
35 Target RejectNegative InverseMask(SOFT_MUL).
36 Enable generation of hardware multiply instructions (l.mul, l.muli) instructions.
37 This is the default; use -msoft-mul to override.
40 Target RejectNegative Mask(SOFT_MUL).
41 Enable generation of binaries which use functions from libgcc to perform
42 multiply operations. The default is -mhard-mul.
45 Target RejectNegative InverseMask(HARD_FLOAT)
46 Enable generation of binaries which use functions from libgcc to perform
47 floating point operations. This is the default; use -mhard-float to override.
50 Target RejectNegative Mask(HARD_FLOAT)
51 Enable generation of hardware floating point instructions. The default is
55 Target Mask(DOUBLE_FLOAT)
56 When -mhard-float is selected, enables generation of double-precision floating
57 point instructions. By default functions from libgcc are used to perform
58 double-precision floating point operations.
61 Target RejectNegative Mask(FP_UNORDERED)
62 When -mhard-float is selected, enables generation of unordered floating point
63 compare and set flag (lf.sfun*) instructions. By default functions from libgcc
64 are used to perform unordered floating point compare and set flag operations.
67 Target RejectNegative Mask(CMOV)
68 Enable generation of conditional move (l.cmov) instructions. By default the
69 equivalent will be generated using set and branch.
72 Target RejectNegative Mask(ROR)
73 Enable generation of rotate right (l.ror) instructions. By default functions
74 from libgcc are used to perform rotate right operations.
77 Target RejectNegative Mask(RORI)
78 Enable generation of rotate right with immediate (l.rori) instructions. By
79 default functions from libgcc are used to perform rotate right with immediate
83 Target RejectNegative Mask(SEXT)
84 Enable generation of sign extension (l.ext*) instructions. By default memory
85 loads are used to perform sign extension.
88 Target RejectNegative Mask(SFIMM)
89 Enable generation of compare and set flag with immediate (l.sf*i) instructions.
90 By default extra instructions will be generated to store the immediate to a
94 Target RejectNegative Mask(SHFTIMM)
95 Enable generation of shift with immediate (l.srai, l.srli, l.slli) instructions.
96 By default extra instructions will be generated to store the immediate to a