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

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

Open
wants to merge 21 commits into
base: v2.1-agentzh
Choose a base branch
from

Conversation

infiWang
Copy link

@infiWang infiWang commented Jun 27, 2024

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
Copy link
Author

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

@infiWang
Copy link
Author

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

Should have been fixed.

@infiWang infiWang force-pushed the v2.1-riscv64 branch 3 times, most recently from b2c6b14 to 74fe9b0 Compare July 3, 2024 14:09
@LocutusOfBorg LocutusOfBorg mentioned this pull request Nov 2, 2024
@mengzhuo
Copy link

mengzhuo commented Nov 3, 2024

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

@infiWang
Copy link
Author

infiWang commented Nov 3, 2024

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
Copy link
Author

infiWang commented Nov 3, 2024

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

Done, all passing.

@mengzhuo
Copy link

mengzhuo commented Nov 8, 2024

@zhuizhuhaomeng PTAL, thanks

@infiWang infiWang force-pushed the v2.1-riscv64 branch 2 times, most recently from a0cb58a to cac9628 Compare November 23, 2024 10:52
@yuzibo
Copy link

yuzibo commented Nov 29, 2024

Thanks for the work!

Debian luajit has supported riscv64 based on the patch. This fixed almost >30 build dependency issues. So far, there have been no reports of build failures or test failures.

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

Successfully merging this pull request may close these issues.

3 participants