[PATCH] D131141: [RISCV] Add MC support of RISCV Zcb Extension

Xinlong Wu via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 3 22:04:16 PDT 2022


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

This patch add the instructions of Zcb extension.

Instructions in zcb extensions shorten part of bit manipulation instructions.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D131141

Files:
  llvm/lib/Support/RISCVISAInfo.cpp
  llvm/lib/Target/RISCV/AsmParser/RISCVAsmParser.cpp
  llvm/lib/Target/RISCV/RISCV.td
  llvm/lib/Target/RISCV/RISCVInstrInfo.td
  llvm/lib/Target/RISCV/RISCVInstrInfoZc.td
  llvm/lib/Target/RISCV/RISCVSubtarget.h
  llvm/test/MC/RISCV/attribute-arch.s
  llvm/test/MC/RISCV/rv32zcb-Invalid.s
  llvm/test/MC/RISCV/rv32zcb-valid.s
  llvm/test/MC/RISCV/rv64zcb-Invalid.s
  llvm/test/MC/RISCV/rv64zcb-valid.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D131141.449868.patch
Type: text/x-patch
Size: 13697 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220804/d635ffd6/attachment-0001.bin>


More information about the llvm-commits mailing list