[PATCH] D99009: [RISCV] [1/2] Add intrinsic for Zbr extension
LevyHsu via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Mar 19 22:22:04 PDT 2021
LevyHsu created this revision.
LevyHsu added reviewers: craig.topper, kito-cheng, evandro, khchen.
LevyHsu added projects: clang, LLVM.
Herald added subscribers: vkmr, frasercrmck, luismarques, apazos, sameer.abuasal, s.egerton, Jim, benna, psnobl, jocewei, PkmX, the_o, brucehoult, MartinMosbeck, rogfer01, edward-jones, zzheng, jrtc27, shiva0217, niosHD, sabuasal, simoncook, johnrusso, rbar, asb, hiraditya.
LevyHsu requested review of this revision.
Herald added subscribers: llvm-commits, cfe-commits, MaskRay.
Implementation for RISC-V Zbr extension intrinsics.
head file is included in the second patch incase the name needs to be changed
RV32 / 64:
crc32b
crc32h
crc32w
crc32cb
crc32ch
crc32cw
RV64 Only:
crc32d
crc32cd
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D99009
Files:
clang/include/clang/Basic/BuiltinsRISCV.def
clang/include/clang/Basic/DiagnosticSemaKinds.td
clang/lib/CodeGen/CGBuiltin.cpp
clang/lib/Sema/SemaChecking.cpp
clang/test/CodeGen/RISCV/rvb-intrinsics/riscv32-zbr.c
clang/test/CodeGen/RISCV/rvb-intrinsics/riscv64-zbr.c
clang/test/Headers/rvintrin.c
llvm/include/llvm/IR/IntrinsicsRISCV.td
llvm/lib/Target/RISCV/RISCVInstrInfo.td
llvm/lib/Target/RISCV/RISCVInstrInfoB.td
llvm/test/CodeGen/RISCV/rv32Zbr.ll
llvm/test/CodeGen/RISCV/rv64Zbr.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D99009.332079.patch
Type: text/x-patch
Size: 18914 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20210320/12528618/attachment-0001.bin>
More information about the cfe-commits
mailing list