RISC-V -mno-fdiv flag to disable to FP divide and sqrt instructions

Hi,

Is -mno-fidv (https://gcc.gnu.org/onlinedocs/gcc/RISC-V-Options.html) flag, or something similar, supported by RISC-V LLVM backend yet? Does it make sense to add a similar feature to LLVM RISC-V backend? If so, I need it for a project and I’d like to work on supporting it (if someone else is not already on it)…

Regards,
Bandhav

Hi Bandav,

That option isn't currently implemented and I'm not aware of anyone
looking to add it. Patches welcome!

Best,

Alex