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

how to support arm64 #50

Closed
HobbyBear opened this issue Jun 26, 2021 · 7 comments
Closed

how to support arm64 #50

HobbyBear opened this issue Jun 26, 2021 · 7 comments

Comments

@HobbyBear
Copy link

I want to run it on my apple m1,but it can not work.

@agiledragon
Copy link
Owner

You can add a go file and name it jmp_arm64.go. It is more complex than amd64. The length of the arm64 instruction is only 32 bits, and the instruction cannot store such a large immediate value. You must first load the parameter from the stack to the r27 register, and then b r27. Remember to replace instructions with instruction codes.
I don't have a apple m1 ,you can try to solve it.

@sirkon
Copy link

sirkon commented Jul 5, 2021

#39 @HobbyBear

@agiledragon
Copy link
Owner

Have you sloved the problem? @sirkon

@sirkon
Copy link

sirkon commented Jul 6, 2021

I am not solved it. Get segmentation fault due to paging and that's all. The app stops with segfault when I try to write into a code segment.

@agiledragon
Copy link
Owner

#10 @sirkon

@sirkon
Copy link

sirkon commented Jul 6, 2021

tried this, won't help

@agiledragon
Copy link
Owner

Arm64 is fully supported in the v2.2.0.

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

No branches or pull requests

3 participants