RV32, RV64
bfp
RV64 only
bfpw
Details
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
clang/include/clang/Basic/BuiltinsRISCV.def | ||
---|---|---|
36 | Capital Z | |
37 | I think we should have __builtin_riscv_bfp_32 and __builtin_riscv_bfp_64. It's more convenient and portable for software to be written in terms of number of bits being operated on rather than changing behavior based on xlen. | |
llvm/include/llvm/IR/IntrinsicsRISCV.td | ||
98 | We only need one intrinsic. BitManipGPRGPRIntrinsics is type overloaded. We can check the type in isel patterns. |
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.
Capital Z