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

Intrinsic naming #84

Closed
marcfedorow opened this issue Sep 3, 2021 · 1 comment
Closed

Intrinsic naming #84

marcfedorow opened this issue Sep 3, 2021 · 1 comment

Comments

@marcfedorow
Copy link

The use of two underscores in identifiers is reserved
for the compiler's internal use according to the ANSI-C standard.
Intrinsics are indeed "the compiler's internal" stuff.
This means that B-ext and K-ext scheme are most likely improper.
Still two underscores after __rv seem to be redundant.
__rv_insn and __rv_v_insn could probably be the best decision.
See also: #44, riscv-non-isa/riscv-c-api-doc#18

@chuanhua
Copy link
Contributor

chuanhua commented Sep 8, 2021

Changed "__rv__" prefix to "__rv_" in v0.9.6 release (0eeb572)

@chuanhua chuanhua closed this as completed Sep 8, 2021
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