bytecodealliance / bytecodealliance/wasmtime

Cranelift: arm32 support

Open
#1,173 27 comments 2 reactions 0 assignees View on GitHub
cranelift cranelift:new-target enhancement
Dominant language
Rust
Stars
18.6k
Forks
1.8k
Avg merge
1d 18h
Merged PRs (30d)
126

Description

- What is the feature or code improvement you would like to do in Cranelift?
I would like to add ARM support by implementing ARM (not Thumb) encodings/recipes and abi. I am especially interested in armv7 little endian support.
- What is the value of adding this in Cranelift?
Emit code that could run on ARM architecture.
- Do you have an implementation plan, and/or ideas for data structures or
algorithms to use?
At first i want to add basic integer operations followed by floating point instructions. I thought about implementing the latter using VFP rather than the NEON extension (As far as I know NEON does not support double precision). As for calling convention, I would like to implement AAPCS.
I already have some code that i hope to push after necessary modifications.
- Have you considered alternative implementations? If so, how are they better
or worse than your proposal?
No, but I am open to suggestions.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.