[all-commits] [llvm/llvm-project] 9f0d72: [RISCV] Add MC support of RISCV zcmt Extension

VincentWu via All-commits all-commits at lists.llvm.org
Wed May 3 07:06:53 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9f0d725744aa2f36395fdccd85a2f21b960ff661
      https://github.com/llvm/llvm-project/commit/9f0d725744aa2f36395fdccd85a2f21b960ff661
  Author: WuXinlong <821408745 at qq.com>
  Date:   2023-05-03 (Wed, 03 May 2023)

  Changed paths:
    M clang/test/Preprocessor/riscv-target-features.c
    M llvm/docs/RISCVUsage.rst
    M llvm/lib/Support/RISCVISAInfo.cpp
    M llvm/lib/Target/RISCV/RISCVFeatures.td
    M llvm/lib/Target/RISCV/RISCVInstrInfoZc.td
    M llvm/lib/Target/RISCV/RISCVSchedRocket.td
    M llvm/lib/Target/RISCV/RISCVSchedSiFive7.td
    M llvm/lib/Target/RISCV/RISCVSystemOperands.td
    M llvm/test/CodeGen/RISCV/attributes.ll
    M llvm/test/MC/RISCV/attribute-arch.s
    A llvm/test/MC/RISCV/rv32zcmt-invalid.s
    A llvm/test/MC/RISCV/rv32zcmt-valid.s
    A llvm/test/MC/RISCV/rvzcmt-user-csr-name.s

  Log Message:
  -----------
  [RISCV] Add MC support of RISCV zcmt Extension

This patch add the instructions of zcmt extension.
[[ https://github.com/riscv/riscv-code-size-reduction/releases/tag/v1.0.0-RC5.7 | spac is here ]]
Which includes two instructions (cm.jt&cm.jalt) and a CSR Reg JVT

co-author: @Scott Egerton

Reviewed By: kito-cheng, craig.topper

Differential Revision: https://reviews.llvm.org/D133863




More information about the All-commits mailing list