openresty / luajit2

OpenResty's Branch of LuaJIT 2
https://luajit.org/luajit.html
Other
1.26k stars 202 forks source link

Add RISC-V 64 Support for LuaJIT v2.1 #236

Open infiWang opened 4 months ago

infiWang commented 4 months ago

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

infiWang commented 4 months ago

Oops, seems we have some issues with amd64 target……

infiWang commented 4 months ago

Oops, seems we have some issues with amd64 target……

Should have been fixed.

mengzhuo commented 2 weeks ago

Can we rerun Travis CI? Alpine using this package for LuaJit2

infiWang commented 2 weeks ago

Can we rerun Travis CI?

Alpine using this package for LuaJit2

I'll do a patch refresh soon.

Btw, I'm considering dropping DynASM call pseudo in favor of "PLT inline" as it's more performant and less hacky.

infiWang commented 2 weeks ago

Can we rerun Travis CI? Alpine using this package for LuaJit2

Done, all passing.

mengzhuo commented 2 weeks ago

@zhuizhuhaomeng PTAL, thanks