RV32/64:
grev grevi gorc gorci shfl shfli unshfl unshfli xperm.n xperm.b xperm.h
RV64 ONLY:
grevw greviw gorcw gorciw shflw shfli (For non-existing shfliw) unshfli (For non-existing unshfliw) xperm.w
Paths
| Differential D100830
[RISCV] [1/2] Add IR intrinsic for Zbp extension ClosedPublic Authored by LevyHsu on Apr 20 2021, 2:15 AM.
Details Summary RV32/64: grev grevi gorc gorci shfl shfli unshfl unshfli xperm.n xperm.b xperm.h RV64 ONLY: grevw greviw gorcw gorciw shflw shfli (For non-existing shfliw) unshfli (For non-existing unshfliw) xperm.w
Diff Detail
Unit TestsFailed Event TimelineHerald added subscribers: vkmr, frasercrmck, evandro and 21 others. · View Herald TranscriptApr 20 2021, 2:15 AM Herald added subscribers: llvm-commits, cfe-commits, MaskRay. · View Herald TranscriptApr 20 2021, 2:15 AM
Comment Actions Change Log:
LevyHsu marked 6 inline comments as done. Comment Actions
Changed imm in the test cases to 13 so it's 4bit 1101 and won't be lower to other instructions. This revision is now accepted and ready to land.Apr 21 2021, 7:28 PM Closed by commit rGb49337bbb9de: [RISCV] [1/2] Add IR intrinsic for Zbp extension (authored by LevyHsu, committed by craig.topper). · Explain WhyApr 22 2021, 4:35 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 338777 clang/include/clang/Basic/BuiltinsRISCV.def
clang/lib/CodeGen/CGBuiltin.cpp
clang/test/CodeGen/RISCV/rvb-intrinsics/riscv32-zbp.c
clang/test/CodeGen/RISCV/rvb-intrinsics/riscv64-zbp.c
llvm/include/llvm/IR/IntrinsicsRISCV.td
llvm/lib/Target/RISCV/RISCVISelLowering.h
llvm/lib/Target/RISCV/RISCVISelLowering.cpp
llvm/lib/Target/RISCV/RISCVInstrInfoB.td
llvm/test/CodeGen/RISCV/rv32zbp-intrinsic.ll
llvm/test/CodeGen/RISCV/rv64zbp-intrinsic.ll
llvm/test/MC/RISCV/rv32b-aliases-valid.s
llvm/test/MC/RISCV/rv64b-aliases-valid.s
|
clang-format: please reformat the code