[PATCH] D112009: update k-ext to 1.0-rc4

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


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

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

- 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


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D112009

Files:
  .gitlab-ci.yml
  llvm/lib/Support/RISCVISAInfo.cpp
  llvm/lib/Target/RISCV/AsmParser/RISCVAsmParser.cpp
  llvm/lib/Target/RISCV/Disassembler/RISCVDisassembler.cpp
  llvm/lib/Target/RISCV/RISCV.td
  llvm/lib/Target/RISCV/RISCVInstrInfo.td
  llvm/lib/Target/RISCV/RISCVInstrInfoK.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/lib/Target/RISCV/RISCVSystemOperands.td
  llvm/test/CodeGen/RISCV/attributes.ll
  llvm/test/MC/RISCV/attribute-arch.s
  llvm/test/MC/RISCV/rv32zbkb-only-valid.s
  llvm/test/MC/RISCV/rv32zbkb-valid.s
  llvm/test/MC/RISCV/rv32zbkc-valid.s
  llvm/test/MC/RISCV/rv32zbkx-valid.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/rv32zknd-only-invalid.s
  llvm/test/MC/RISCV/rv32zknd-only-valid.s
  llvm/test/MC/RISCV/rv32zkne-only-invalid.s
  llvm/test/MC/RISCV/rv32zkne-only-valid.s
  llvm/test/MC/RISCV/rv32zknh-only-valid.s
  llvm/test/MC/RISCV/rv32zknh-valid.s
  llvm/test/MC/RISCV/rv32zkr-valid.s
  llvm/test/MC/RISCV/rv32zksed-invalid.s
  llvm/test/MC/RISCV/rv32zksed-valid.s
  llvm/test/MC/RISCV/rv32zksh-valid.s
  llvm/test/MC/RISCV/rv64-zbkb-valid.s
  llvm/test/MC/RISCV/rv64zbkb-only-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/rv64zknd-only-valid.s
  llvm/test/MC/RISCV/rv64zkne-only-invalid.s
  llvm/test/MC/RISCV/rv64zkne-only-valid.s
  llvm/test/MC/RISCV/rv64zknh-only-valid.s
  llvm/test/MC/RISCV/rv64zknh-valid.s
  llvm/test/MC/RISCV/rv64zkr-valid.s
  llvm/test/MC/RISCV/rv64zksed-invalid.s
  llvm/test/MC/RISCV/rv64zksed-valid.s
  llvm/test/MC/RISCV/rv64zksh-valid.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D112009.380428.patch
Type: text/x-patch
Size: 91182 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20211018/88d55143/attachment.bin>


More information about the llvm-commits mailing list