[PATCH] D117889: [RISCV][RFC] add support for zbkx subextension.

Zircon Liu via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jan 21 06:33:38 PST 2022


SForeKeeper created this revision.
Herald added subscribers: VincentWu, luke957, achieveartificialintelligence, vkmr, frasercrmck, jdoerfert, evandro, luismarques, apazos, sameer.abuasal, s.egerton, Jim, benna, psnobl, jocewei, PkmX, the_o, brucehoult, MartinMosbeck, rogfer01, edward-jones, zzheng, jrtc27, kito-cheng, niosHD, sabuasal, simoncook, johnrusso, rbar, asb, hiraditya.
SForeKeeper requested review of this revision.
Herald added subscribers: llvm-commits, eopXD, MaskRay.
Herald added a project: LLVM.

This patch adds support for zbkx extension from K extension(v1.0.0) in MC layer.
Instructions with same functionality and same encoding is defined in the bitmanip extension. However these instructions, specifically
xperm.*, along with Zbp extension itself, are removed in the latest version. Hence a cleanup of previous codes is probably needs.
This patch doesn't clean these outdated codes. Now it defines a new decoder space to avoid collision. It needs further discussion to
determine what to do.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D117889

Files:
  llvm/lib/Support/RISCVISAInfo.cpp
  llvm/lib/Target/RISCV/Disassembler/RISCVDisassembler.cpp
  llvm/lib/Target/RISCV/RISCV.td
  llvm/lib/Target/RISCV/RISCVInstrInfo.td
  llvm/lib/Target/RISCV/RISCVInstrInfoZk.td
  llvm/lib/Target/RISCV/RISCVSchedRocket.td
  llvm/lib/Target/RISCV/RISCVSchedSiFive7.td
  llvm/lib/Target/RISCV/RISCVSubtarget.h
  llvm/test/CodeGen/RISCV/attributes.ll
  llvm/test/MC/RISCV/attribute-arch.s
  llvm/test/MC/RISCV/rv32zbkx-valid.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D117889.401972.patch
Type: text/x-patch
Size: 9688 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220121/737d0558/attachment.bin>


More information about the llvm-commits mailing list