Wasmer: Cranelift backend support for ARM on Android (and Mac)

Created on 7 Jul 2020  路  3Comments  路  Source: wasmerio/wasmer

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.

resolved in wasmer refactor 馃帀 enhancement

Most helpful comment

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! :)

All 3 comments

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! :)

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

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!

Was this page helpful?
0 / 5 - 0 ratings