[PATCH] D112007: [RISCV] Initialy support the K-extension instructions on the LLVM MC layer Co-author: QiXing Xue & Xinlong Wu

Xinlong Wu via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 18 08:47:44 PDT 2021


VincentWu created this revision.
Herald added subscribers: achieveartificialintelligence, vkmr, frasercrmck, evandro, 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, simoncook, johnrusso, rbar, asb, hiraditya.
VincentWu requested review of this revision.
Herald added subscribers: llvm-commits, MaskRay.
Herald added a project: LLVM.

- refactor: move the definition of the immediate number uimm2 and uimm4

fix: error trailing whitespace when building

typo: RISC-K ->RISC-V

style: formate the whitespace, annotation&code style

style: formate the whitespace, annotation&code style

Refactor test to move checks before instruction

Split test cases

Format td file to unify instruction td fmts

K ext review: formatting , revome `Sched`

- style: formate the code - refactor: use rcon  class to limit the imm range - Test: add 64bit test case - move test cases - fix: fix wrong CHECK-INST

- refactor: group all instructions into Functional Set - test: refactor all test case file of K Ext

- Test: formate test case

- test: add `zkb`&`zkg` test  case - style: order the variable and functions in Alphabetical order

- fix: fix the wrong test case

-test: remove the test case

- style: formate the code - style: Add a description of the k extension that has not yet been ratified

fix: limit the range of rcon between 0 and 10 style: Alignment the code

-fix: Fix wrong input DAG for ByteSelect cls

-add: handle k* extension for ELF attribute

[RISCV][K ext] Comply MC layer with spec v0.92

- Change sm4* and aes32* into regular R format (rd, rs1, rs2)
- Rename rcon to rnum

[RISCV][K ext] Unify extension description format

Add space between `'` and `(`

CI: update gitlab config for newer runners.

CI: Relax link jobs limit

  A few new CI runners are available now.

Comply MC layer with spec v0.1.0.0-rc

[RISCV][k ext] fix wrong param of objdump in testcaase

[RISCV] style: formate the code of RISCVAsmParser.cpp


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D112007

Files:
  .gitlab-ci.yml
  llvm/lib/Target/RISCV/AsmParser/RISCVAsmParser.cpp
  llvm/lib/Target/RISCV/RISCVInstrInfo.td
  llvm/lib/Target/RISCV/RISCVInstrInfoK.td
  llvm/lib/Target/RISCV/RISCVSubtarget.h
  llvm/test/MC/RISCV/attribute-arch.s
  llvm/test/MC/RISCV/rv32zkb-aliases-valid.s
  llvm/test/MC/RISCV/rv32zkb-valid.s
  llvm/test/MC/RISCV/rv32zkg-valid.s
  llvm/test/MC/RISCV/rv32zkr-valid.s
  llvm/test/MC/RISCV/rv64zkb-aliases-valid.s
  llvm/test/MC/RISCV/rv64zkb-only-aliases-valid.s
  llvm/test/MC/RISCV/rv64zkb-only-valid.s
  llvm/test/MC/RISCV/rv64zkb-valid.s
  llvm/test/MC/RISCV/rv64zkg-valid.s
  llvm/test/MC/RISCV/rv64zknh-valid.s
  llvm/test/MC/RISCV/rv64zkr-valid.s
  llvm/test/MC/RISCV/rv64zksed-valid.s
  llvm/test/MC/RISCV/rv64zksh-valid.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D112007.380423.patch
Type: text/x-patch
Size: 43007 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20211018/fccefa53/attachment.bin>


More information about the llvm-commits mailing list