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

risc-v vector extensions #234

Open
sh-zheng opened this issue Mar 3, 2021 · 5 comments
Open

risc-v vector extensions #234

sh-zheng opened this issue Mar 3, 2021 · 5 comments

Comments

@sh-zheng
Copy link

sh-zheng commented Mar 3, 2021

Hello,
The spec of vector extension of risc-v will be frozen soon. Do we have any plan to support risc-v vector extension?

@stevengj stevengj changed the title Do we have any plan to support risc-v vector extension? risc-v vector extensions Mar 4, 2021
@stevengj
Copy link
Contributor

stevengj commented Mar 4, 2021

No plans that I know of, but since FFTW already supports several SIMD instruction sets it shouldn't be hard to add another one if someone has access to hardware and a compiler…

@rdolbeau
Copy link
Contributor

rdolbeau commented Jul 8, 2021

See https://github.com/rdolbeau/fftw3/tree/riscv-v for a prototype.

@Gandalfthegreybeard
Copy link

See https://github.com/rdolbeau/fftw3/tree/riscv-v for a prototype.

What version of the risc-v V spec does that use? From the timing, I'm guessing the 0.71 spec, which although having been encoded in the D1 chip, using the Xuantie C906 processor, has been revised fairly substantially into the 1.0 ratified spec available at https://github.com/riscv/riscv-v-spec

@nick-knight
Copy link

@stevengj Upstream QEMU and LLVM support RISC-V V-extension (ratified Nov. 2021). The C intrinsics API
https://github.com/riscv-non-isa/rvv-intrinsic-doc
is still churning, but there is general consensus on what needs to change, and work is underway.

@sh-zheng
Copy link
Author

sh-zheng commented May 4, 2022

@nick-knight The pull request #279 has been raised. The codes are based on recent rvv intrinsic api and have been tested on qemu 7.0

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

5 participants