[PATCH] D116994: [RISCV] Add bfp and bfpw intrinsic in zbf extension

WangLian via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 11 23:13:47 PST 2022


Jimerlife updated this revision to Diff 399216.
Jimerlife edited the summary of this revision.
Jimerlife added a comment.

According to machine target, write two intrinsic __builtin_riscv_bfp_rv32 and __builtin_riscv_bfp_rv64.
Support __builtin_riscv_bfp_rv32 used in RV64 target.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D116994/new/

https://reviews.llvm.org/D116994

Files:
  clang/include/clang/Basic/BuiltinsRISCV.def
  clang/lib/CodeGen/CGBuiltin.cpp
  clang/test/CodeGen/RISCV/rvb-intrinsics/riscv32-zbf.c
  clang/test/CodeGen/RISCV/rvb-intrinsics/riscv64-zbf.c
  llvm/include/llvm/IR/IntrinsicsRISCV.td
  llvm/lib/Target/RISCV/RISCVISelLowering.cpp
  llvm/lib/Target/RISCV/RISCVISelLowering.h
  llvm/lib/Target/RISCV/RISCVInstrInfoZb.td
  llvm/test/CodeGen/RISCV/rv32zbf-intrinsic.ll
  llvm/test/CodeGen/RISCV/rv64zbf-intrinsic.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D116994.399216.patch
Type: text/x-patch
Size: 10689 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220112/8d810b97/attachment.bin>


More information about the llvm-commits mailing list