Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Builtin name #96

Open
dodohack opened this issue Sep 28, 2021 · 1 comment
Open

Builtin name #96

dodohack opened this issue Sep 28, 2021 · 1 comment

Comments

@dodohack
Copy link

We use prefix _builtin_riscv* 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.

@shaochung
Copy link

shaochung commented Sep 29, 2021

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants