[PATCH] D102839: [RISCV][Clang] Add -mno-div option to disable hardware int division

ksyx via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu May 27 03:32:04 PDT 2021


ksyx updated this revision to Diff 348206.
ksyx marked an inline comment as done.
ksyx edited the summary of this revision.
ksyx added a comment.

Implemented Zmmul subextension, and let `no-div` to be using this subextension instead of M itself.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D102839/new/

https://reviews.llvm.org/D102839

Files:
  clang/include/clang/Driver/Options.td
  clang/lib/Basic/Targets/RISCV.cpp
  clang/lib/Basic/Targets/RISCV.h
  clang/lib/Driver/ToolChains/Arch/RISCV.cpp
  clang/test/Driver/riscv-no-div.c
  llvm/lib/Target/RISCV/RISCV.td
  llvm/lib/Target/RISCV/RISCVISelLowering.cpp
  llvm/lib/Target/RISCV/RISCVInstrInfoM.td
  llvm/lib/Target/RISCV/RISCVSubtarget.h
  llvm/test/CodeGen/RISCV/zmmul.ll
  llvm/test/MC/RISCV/rv32i-invalid.s
  llvm/test/MC/RISCV/rv32zmmul-invaild.s
  llvm/test/MC/RISCV/rv32zmmul-valid.s
  llvm/test/MC/RISCV/rv64zmmul-invalid.s
  llvm/test/MC/RISCV/rv64zmmul-valid.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D102839.348206.patch
Type: text/x-patch
Size: 17694 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20210527/8151af0a/attachment-0001.bin>


More information about the cfe-commits mailing list