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

[REQUEST]: Support vector extension for risc-v compiler #6617

Open
zhongchengyong opened this issue Jun 17, 2024 · 2 comments
Open

[REQUEST]: Support vector extension for risc-v compiler #6617

zhongchengyong opened this issue Jun 17, 2024 · 2 comments
Labels
request Request for something

Comments

@zhongchengyong
Copy link

zhongchengyong commented Jun 17, 2024

Is your feature request related to a problem? Please describe

I would like to compile rvv program online and check the assembly code, by risc-v GCC or clang.

Describe the solution you'd like

Now risc-v gc is supported, add the vector extension support

Describe alternatives you've considered

No alternatives

Additional context

Not applicable

@zhongchengyong zhongchengyong added the request Request for something label Jun 17, 2024
@dkm
Copy link
Member

dkm commented Jun 17, 2024

Can you elaborate a bit more? You mean that we need to enable something in the GO compiler?

@zhongchengyong
Copy link
Author

Can you elaborate a bit more? You mean that we need to enable something in the GO compiler?

I'm afraid not. Just add RVV(risc-v vector) support for the gcc/clang, which can be enabled by clang -march=rv64gcv to compile c/c++ program, now the compiler explorer support rv64gc only.

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

No branches or pull requests

2 participants