[llvm-dev] RISC-V -mno-fdiv flag to disable to FP divide and sqrt instructions

Alex Bradbury via llvm-dev llvm-dev at lists.llvm.org
Sat Jun 13 23:05:41 PDT 2020


On Sat, 13 Jun 2020 at 22:06, Bandhav Veluri via llvm-dev
<llvm-dev at lists.llvm.org> wrote:
>
> 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)...

Hi Bandav,

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

Best,

Alex


More information about the llvm-dev mailing list