Open dodohack opened 3 years ago
I think this is not a problem but only intrinsic function interfaces are defined in p spec. The spec does not specify compiler built-in style. This issue had been also discussed in riscv-non-isa/riscv-c-api-doc#19. I think you can discussed in LLVM to sync the builtin style.
We use prefix __builtinriscv* to define builtins for RISC-V vector and other extensions in LLVM, can we keep consistancy to use the same prefix to define the same builtins for P extension?
See clang/include/clang/Basic/BuiltinsRISCV.def for detail.