Bandhav Veluri via llvm-dev
2020-Jun-13 21:05 UTC
[llvm-dev] 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20200613/727a5904/attachment.html>
Alex Bradbury via llvm-dev
2020-Jun-14 06:05 UTC
[llvm-dev] RISC-V -mno-fdiv flag to disable to FP divide and sqrt instructions
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