[all-commits] [llvm/llvm-project] 780c53: [RISCV] Implement assembler support for XVentanaCo...

Philip Reames via All-commits all-commits at lists.llvm.org
Mon Nov 14 09:03:25 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 780c53984449e14f50e2418de993bbf560f54bfc
      https://github.com/llvm/llvm-project/commit/780c53984449e14f50e2418de993bbf560f54bfc
  Author: Philip Reames <preames at rivosinc.com>
  Date:   2022-11-14 (Mon, 14 Nov 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/Disassembler/RISCVDisassembler.cpp
    M llvm/lib/Target/RISCV/RISCV.td
    M llvm/lib/Target/RISCV/RISCVInstrInfo.td
    A llvm/lib/Target/RISCV/RISCVInstrInfoXVentana.td
    M llvm/lib/Target/RISCV/RISCVSubtarget.h
    M llvm/test/CodeGen/RISCV/attributes.ll
    A llvm/test/MC/RISCV/XVentanaCondOps-valid.s

  Log Message:
  -----------
  [RISCV] Implement assembler support for XVentanaCondOps

This change provides an implementation of the XVentanaCondOps vendor extension. This extension is defined in version 1.0.0 of the VTx-family custom instructions specification (https://github.com/ventanamicro/ventana-custom-extensions/releases/download/v1.0.0/ventana-custom-extensions-v1.0.0.pdf) by Ventana Micro Systems.

In addition to the technical contribution, this change is intended to be a test case for our vendor extension policy.

Once this lands, I plan to use this extension to prototype selection lowering to conditional moves. There's an RVI proposal in flight, and the expectation is that lowering to these and the new RVI instructions is likely to be substantially similar.

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




More information about the All-commits mailing list