[all-commits] [llvm/llvm-project] 1a3b14: [RISCV] Add C intrinsics for scalar bitmanip and c...

Craig Topper via All-commits all-commits at lists.llvm.org
Fri Nov 24 16:17:49 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1a3b14d26152ab7e7352c8e7aa97ec880cdac82d
      https://github.com/llvm/llvm-project/commit/1a3b14d26152ab7e7352c8e7aa97ec880cdac82d
  Author: Craig Topper <craig.topper at sifive.com>
  Date:   2023-11-24 (Fri, 24 Nov 2023)

  Changed paths:
    M clang/lib/Headers/CMakeLists.txt
    A clang/lib/Headers/riscv_bitmanip.h
    A clang/lib/Headers/riscv_crypto.h
    M clang/test/CodeGen/RISCV/rvb-intrinsics/zbkb.c
    M clang/test/CodeGen/RISCV/rvb-intrinsics/zbkc.c
    M clang/test/CodeGen/RISCV/rvb-intrinsics/zbkx.c
    M clang/test/CodeGen/RISCV/rvk-intrinsics/riscv32-zknd.c
    M clang/test/CodeGen/RISCV/rvk-intrinsics/riscv32-zkne.c
    M clang/test/CodeGen/RISCV/rvk-intrinsics/riscv32-zknh.c
    M clang/test/CodeGen/RISCV/rvk-intrinsics/riscv64-zknd-zkne.c
    M clang/test/CodeGen/RISCV/rvk-intrinsics/riscv64-zknd.c
    M clang/test/CodeGen/RISCV/rvk-intrinsics/riscv64-zkne.c
    M clang/test/CodeGen/RISCV/rvk-intrinsics/riscv64-zknh.c
    M clang/test/CodeGen/RISCV/rvk-intrinsics/zksed.c
    M clang/test/CodeGen/RISCV/rvk-intrinsics/zksh.c
    M llvm/docs/ReleaseNotes.rst

  Log Message:
  -----------
  [RISCV] Add C intrinsics for scalar bitmanip and crypto

This adds riscv_bitmanip and riscv_crypto.h

This is based on the proposed spec here https://github.com/riscv-non-isa/riscv-c-api-doc/pull/44

Tests that previously used builtins directly now use the intrinsics.

Reviewed By: wangpc

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




More information about the All-commits mailing list