[PATCH] D155283: [RISCV] Cleanups in CORE-V (xcv) extensions

Simon Cook via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jul 14 03:07:52 PDT 2023


simoncook created this revision.
simoncook added reviewers: asb, craig.topper, realqhc, PaoloS, jeremybennett, melonedo.
Herald added subscribers: jobnoorman, luke, VincentWu, vkmr, frasercrmck, luismarques, apazos, sameer.abuasal, s.egerton, Jim, benna, psnobl, jocewei, PkmX, the_o, brucehoult, MartinMosbeck, rogfer01, edward-jones, zzheng, jrtc27, shiva0217, kito-cheng, niosHD, sabuasal, johnrusso, rbar, hiraditya, arichardson.
Herald added a project: All.
simoncook requested review of this revision.
Herald added subscribers: llvm-commits, wangpc, eopXD, MaskRay.
Herald added a project: LLVM.

This is a mostly NFC change cleaning up and clarifying components of the
in-tree CORE-V (xcv*) extensions following discussions on the remaining
extensions.

This makes the following changes to the xcbitmanip and xcvmac support:

1. Add missing extensions from RISCVISAInfo, such that they can be supported in clang's -march option.
2. Clarify the extension version number is 1.0.0 in documentation.
3. Clarify the extensions are by OpenHW Group, and the capitilization of the CORE-V extension family.
4. Add CORE-V to extension name in RISCVFeatures, both to be consistent with other vendors, and also better distinguish e.g. CORE-V bit manipulation vs RISC-V's standard Zb extensions.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D155283

Files:
  llvm/docs/RISCVUsage.rst
  llvm/lib/Support/RISCVISAInfo.cpp
  llvm/lib/Target/RISCV/RISCVFeatures.td
  llvm/test/MC/RISCV/corev/XCVbitmanip.s
  llvm/test/MC/RISCV/corev/XCVmac-valid.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D155283.540342.patch
Type: text/x-patch
Size: 36496 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230714/6c6d326e/attachment.bin>


More information about the llvm-commits mailing list