[PATCH] D102839: [RISCV][Clang] Add -mno-div option to disable hardware int division
Luís Marques via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed May 26 14:06:10 PDT 2021
luismarques added a comment.
In D102839#2782557 <https://reviews.llvm.org/D102839#2782557>, @kito-cheng wrote:
> We have Zmmul extension in the ISA spec now, that's equivalent to `-mno-div` , so I suggest we should go forward to implement that extension rather than `-mno-div`.
> https://github.com/riscv/riscv-isa-manual/pull/648
Thanks for bringing that to our attention, Kito. I had missed that recent PR and its discussion.
If the GNU ecosystem intends to move away from `-mno-div` soonish then Zmmul is for sure the way to go. I don't see enough benefit for LLVM to add a stop-gap compatibility option.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D102839/new/
https://reviews.llvm.org/D102839
More information about the llvm-commits
mailing list