[PATCH] D102839: [RISCV][Clang] Add -mno-idiv option to disable hardware int division
Jessica Clarke via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Sat May 22 20:10:25 PDT 2021
jrtc27 added a comment.
I continue to believe this kind of thing is a bad idea (missing fsqrt for F is another one). M means mul and div, if your hardware lacks div then it's not compliant with the spec. M-mode is free to lie to S-mode and above as to what's supported by the hardware and emulate as needed, but if misa.M is 1 then div must work.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D102839/new/
https://reviews.llvm.org/D102839
More information about the cfe-commits
mailing list