Du Chao via llvm-dev
2021-Apr-21 03:47 UTC
[llvm-dev] Any plan to implement JIT for RISC-V ?
Hi all, May I know if there is any plan to add RISCV support in LLVM JIT ? Regards, Du Chao -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20210421/e3c1e036/attachment.html>
pawel k. via llvm-dev
2021-Apr-21 05:09 UTC
[llvm-dev] Any plan to implement JIT for RISC-V ?
Hi, Whats intended use? Also can You point me in direction of what is this component good for and how hard would it be? Interested in complangs jits and essentially interested in riscv. Best regards, Pawel Kunio śr., 21.04.2021, 05:47 użytkownik Du Chao via llvm-dev < llvm-dev at lists.llvm.org> napisał:> Hi all, > > May I know if there is any plan to add RISCV support in LLVM JIT ? > > Regards, > Du Chao > > > _______________________________________________ > LLVM Developers mailing list > llvm-dev at lists.llvm.org > https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20210421/65ce8b89/attachment.html>
Stefan Gränitz via llvm-dev
2021-Apr-21 20:15 UTC
[llvm-dev] Any plan to implement JIT for RISC-V ?
As codegen exists for RISCV, this comes down to providing a proper link step I believe. For the longest time LLVM JIT used RuntimeDyld for it, but it hasn't seen many extensions recently. JITLink has backends for MachO x86-64/ARM64 and ELF x86-64 currently. I think ELF ARM32/64 are highly desirable and there seems to be interest in a COFF backend as well. I like the idea of adding RISCV here! The vast majority of code was written by Lang Hames (cc). I had the opportunity to help with a few details in the ELF implementation and I am familiar with most of the relevant JIT parts. Adding a backend for a new arch, however, requires decent domain knowledge. If there's an effort to make one, I am happy to join, but it's a little more than a spare time project. On 21/04/2021 05:47, Du Chao via llvm-dev wrote:> Hi all, > > May I know if there is any plan to add RISCV support in LLVM JIT ? > > Regards, > Du Chao > > > > _______________________________________________ > LLVM Developers mailing list > llvm-dev at lists.llvm.org > https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev-- https://weliveindetail.github.io/blog/about/ -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20210421/ac681ada/attachment.html>