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

Cranelift backend support for ARM on Android (and Mac) #1495

Closed
repi opened this issue Jul 7, 2020 · 3 comments
Closed

Cranelift backend support for ARM on Android (and Mac) #1495

repi opened this issue Jul 7, 2020 · 3 comments
Labels
🎉 enhancement New feature!

Comments

@repi
Copy link
Contributor

repi commented Jul 7, 2020

Motivation

Wasmer Cranelift-backend support for ARM, for Android and soon also for Mac on Apple Silicon.

For higher performance on ARM / aarch64 devices than the single-pass backend.

Proposed solution

Cranelift is actively working on aarch64 support (list of issues), integrate latest and see if anything is missing in Cranelift to generate for the aarch64 ABI and implement support in Wasmer.

Alternatives

Users can continue to use the single-pass backend on ARM devices, at a quite significant performance penalty.

@syrusakbary
Copy link
Member

Thanks for creating the issue @repi!

We are working on the new version of Wasmer that will be released to the public soon.
In this new version we are already using the latest version of Cranelift (that also supports Aarch64), and have passed all tests successfully in our ARM servers.

So we just have to wait for a few weeks to see the support upstream! :)

@repi
Copy link
Contributor Author

repi commented Jul 8, 2020

@syrusakbary thanks, glad to hear it! excited to try out the new version when it comes out

@syrusakbary
Copy link
Member

We just added support for ARM compilation in our Cranelift compiler.
ARM is also supported automatically in our LLVM compiler as well, thanks to our major effort in the refactor.

Closing the issue!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🎉 enhancement New feature!
Projects
None yet
Development

No branches or pull requests

2 participants