[all-commits] [llvm/llvm-project] 93b4a4: [RISCV] Add vread_csr and vwrite_csr to riscv_vect...

Wang Pengcheng via All-commits all-commits at lists.llvm.org
Mon Jun 13 05:39:26 PDT 2022

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 93b4a41b55102fb400ef6507068148761bb10be1
  Author: wangpc <pc.wang at linux.alibaba.com>
  Date:   2022-06-13 (Mon, 13 Jun 2022)

  Changed paths:
    M clang/include/clang/Basic/riscv_vector.td
    A clang/test/CodeGen/RISCV/rvv-intrinsics/vread-csr.c
    A clang/test/CodeGen/RISCV/rvv-intrinsics/vwrite-csr.c

  Log Message:
  [RISCV] Add vread_csr and vwrite_csr to riscv_vector.h

These two functions are described in RVV intrinsics doc
to read/write RVV CSRs. This matches what GCC does.

This reapply aebe24a which was reverted in 0f6f429 due
to missing REQUIRES in tests.

Reviewed By: craig.topper

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

More information about the All-commits mailing list