Add RISC-V 64 Support for LuaJIT v2.1#236
Add RISC-V 64 Support for LuaJIT v2.1#236IgnotaYun wants to merge 23 commits intoopenresty:v2.1-agentzhfrom
Conversation
|
Oops, seems we have some issues with amd64 target…… |
Should have been fixed. |
b2c6b14 to
74fe9b0
Compare
|
Can we rerun Travis CI? |
I'll do a patch refresh soon. Btw, I'm considering dropping DynASM |
74fe9b0 to
72932c4
Compare
Done, all passing. |
|
@zhuizhuhaomeng PTAL, thanks |
cac9628 to
59e9671
Compare
59e9671 to
f25e678
Compare
4e7448d to
887b468
Compare
3a2022a to
ea214b2
Compare
|
@zhuizhuhaomeng Could you please take a look? 😇 |
|
Is there a chance this can be reviewed? |
Ultimately, it depends on upstream opinion (i.e., Mike). I am currently employed full-time at PLCT Lab. As Mike focuses on version 3.0, we will ensure that a functional fork for version 2.1 is available. |
dff0c18 to
e9a6cc2
Compare
|
Bumped to LJRV 0202af5, based-off OpenResty LuaJIT v2.1-20251229. This cannot be applied to versions prior to v2.1-20251229. For such usage, refer to the branch v2.1-20251030-riscv64, which can be applied cleanly from v2.1-20250117 to v2.1-20251030. |
Thanks for your interest! The current situation is that the upstreaming process is largely tied to Mike Pall's availability and sponsorship. OpenResty maintainers have indicated they would prefer the patch to land upstream first. Since Mike currently lacks sponsorship for the RISC-V port, progress is naturally slower. While ISCAS is coordinating with RISE for potential funding, we strongly encourage any commercial entities that need this port to consider sponsoring Mike or OpenResty. A notable precedent is Linaro's sponsorship of the AArch64 port, and here at OpenResty, IBM's sponsorship of the S390X/PPC64 ports. We (ISCAS) will continue to handle all the heavy lifting regarding code updates and reviews, so sponsors can focus purely on supporting the ecosystem's sustainability. |
e9a6cc2 to
34a1d1c
Compare
Co-authored-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
Current SIGILL handler appears to have weird issues with libluajit on some platform. Considering 6.6 kernel is becoming more common, switch to HWPROBE for better compatibility.
34a1d1c to
4d8cf88
Compare
|
Bumped to LJRV 6fdbb10, based-off OpenResty LuaJIT v2.1-20260114. This cannot be applied to versions prior to v2.1-20260114. For v2.1-20251229, refer to the branch v2.1-20251229-riscv64. See the thread/repo for previous versions. |
This set of patches adds support for RV64G LP64D on Linux, with full interpreter and JIT support.
Patch ported from PLCT LuaJIT, tested with LuaJIT/LuaJIT-test-cleanup.
See also upstream pr LuaJIT/LuaJIT#1267