diff options
author | Andrew Waterman <waterman@cs.berkeley.edu> | 2015-09-29 23:34:15 -0700 |
---|---|---|
committer | Andrew Waterman <waterman@cs.berkeley.edu> | 2015-09-29 23:34:15 -0700 |
commit | f7a71cd82aced98c12ae4badf2e318e8d4387fef (patch) | |
tree | 50d2d8b505f73fa579f3b34928b012b46aa1a989 /gcc | |
parent | ab3880bc03179af7b7e42f7de72525b99344a082 (diff) | |
download | riscv-gnu-toolchain-f7a71cd82aced98c12ae4badf2e318e8d4387fef.zip riscv-gnu-toolchain-f7a71cd82aced98c12ae4badf2e318e8d4387fef.tar.gz riscv-gnu-toolchain-f7a71cd82aced98c12ae4badf2e318e8d4387fef.tar.bz2 |
gcc: enable fdiv/fsqrt by default
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/gcc/config/riscv/riscv.opt | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/gcc/gcc/config/riscv/riscv.opt b/gcc/gcc/config/riscv/riscv.opt index d31105d..73bca8e 100644 --- a/gcc/gcc/config/riscv/riscv.opt +++ b/gcc/gcc/config/riscv/riscv.opt @@ -46,8 +46,12 @@ msoft-float Target Report RejectNegative Mask(SOFT_FLOAT_ABI) Prevent the use of all hardware floating-point instructions +mno-fdiv +Target Report RejectNegative Mask(NO_FDIV) +Don't use hardware floating-point divide and square root instructions + mfdiv -Target Report RejectNegative Mask(FDIV) +Target Report RejectNegative InverseMask(NO_FDIV, FDIV) Use hardware floating-point divide and square root instructions march= |