Skip to content

Cilk and RISC-V #226

Answered by VoxSciurorum
tdysart asked this question in Q&A
Dec 29, 2023 · 1 comments · 1 reply
Discussion options

You must be logged in to vote

I don't expect OpenCilk to work on RISC-V. The compiler should build but it will not be able to generate parallel code.

Internally, cilk_spawn uses the __builtin_setjmp function which is only available on ARM, x86, and PowerPC. Because this is a compiler builtin it doesn't matter if gcc supports it. The version of llvm used by OpenCilk has to support it. I have a plan to remove this dependency or at least make porting to a new architecture easier. There is no timeline for this work.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@tdysart
Comment options

Answer selected by tdysart
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants