[all-commits] [llvm/llvm-project] eda2af: [RISCV][MC] Add support for experimental Zawrs ext...

Philip Reames via All-commits all-commits at lists.llvm.org
Tue Sep 20 10:15:58 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: eda2af575fdf038f3508112b42845516e7cb6192
      https://github.com/llvm/llvm-project/commit/eda2af575fdf038f3508112b42845516e7cb6192
  Author: Philip Reames <preames at rivosinc.com>
  Date:   2022-09-20 (Tue, 20 Sep 2022)

  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/RISCV.td
    M llvm/lib/Target/RISCV/RISCVInstrInfo.td
    M llvm/lib/Target/RISCV/RISCVSubtarget.h
    M llvm/test/CodeGen/RISCV/attributes.ll
    A llvm/test/MC/RISCV/Zawrs-valid.s
    M llvm/test/MC/RISCV/attribute-arch.s

  Log Message:
  -----------
  [RISCV][MC] Add support for experimental Zawrs extension

This implements experimental support for the Zawrs extension as specified here: https://github.com/riscv/riscv-zawrs/releases/download/V1.0-rc3/Zawrs.pdf. Despite the 1.0 version name, this has not been ratified and there was a major change to proposed specification between rc2 and rc3.  Once this is ratified, it'll move out of experimental status.

This change adds assembly support, but does not include C language or IR intrinsics. We can decide if we want them, and handle that in a separate patch.

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




More information about the All-commits mailing list