Skip to content

Commit f7a71cd

Browse files
author
Andrew Waterman
committed
gcc: enable fdiv/fsqrt by default
1 parent ab3880b commit f7a71cd

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

gcc/gcc/config/riscv/riscv.opt

+5-1
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,12 @@ msoft-float
4646
Target Report RejectNegative Mask(SOFT_FLOAT_ABI)
4747
Prevent the use of all hardware floating-point instructions
4848

49+
mno-fdiv
50+
Target Report RejectNegative Mask(NO_FDIV)
51+
Don't use hardware floating-point divide and square root instructions
52+
4953
mfdiv
50-
Target Report RejectNegative Mask(FDIV)
54+
Target Report RejectNegative InverseMask(NO_FDIV, FDIV)
5155
Use hardware floating-point divide and square root instructions
5256

5357
march=

0 commit comments

Comments
 (0)