Skip to content

Commit

Permalink
or1k: fix up docs for new operations
Browse files Browse the repository at this point in the history
  • Loading branch information
stffrdhrn committed Apr 2, 2019
1 parent 975f33d commit ead4465
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 2 deletions.
8 changes: 6 additions & 2 deletions gcc/config/or1k/or1k.opt
Original file line number Diff line number Diff line change
Expand Up @@ -29,14 +29,18 @@ mhard-mul
Target RejectNegative InverseMask(SOFT_MUL).
Use hardware multiply instructions, use -msoft-mul for emulation.

msoft-float
Target RejectNegative InverseMask(HARD_FLOAT)
Use gcc provided software routines for floating point operations.

mhard-float
Target Mask(HARD_FLOAT)
Target RejectNegative Mask(HARD_FLOAT)
Use hardware floating point instructions.

mdouble-float
Target Mask(DOUBLE_FLOAT)
Allows generation of binaries which support 64-bit doubles on 32-bit systems by
soring doubles in register pairs.
storing doubles in register pairs.

mcmov
Target RejectNegative Mask(CMOV)
Expand Down
15 changes: 15 additions & 0 deletions gcc/doc/invoke.texi
Original file line number Diff line number Diff line change
Expand Up @@ -1028,6 +1028,7 @@ Objective-C and Objective-C++ Dialects}.
@emph{OpenRISC Options}
@gccoptlist{-mboard=@var{name} -mnewlib -mhard-mul -mhard-div @gol
-msoft-mul -msoft-div @gol
-msoft-float -mhard-float -mdouble-float @gol
-mcmov -mror -msext -msfimm -mshftimm}

@emph{PDP-11 Options}
Expand Down Expand Up @@ -23557,6 +23558,20 @@ default.
Generate code for hardware which supports multiply instructions. This is the
default.

@item -msoft-float
@opindex msoft-float
Generate code which uses library calls for floating point operations. This is
the default.

@item -mhard-float
@opindex mhard-float
Generate code for hardware which supports floating point instructions.

@item -mdouble-float
@opindex mdouble-float
Generate code for hardware which supports 64-bit floating point operations
on 32-bit OpenRISC targets.

@item -mcmov
@opindex mcmov
Generate code for hardware which supports the conditional move (@code{l.cmov})
Expand Down

0 comments on commit ead4465

Please sign in to comment.