-
Couldn't load subscription status.
- Fork 922
SinglePass: add support for riscv64 target #5711
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
base: main
Are you sure you want to change the base?
Conversation
This is only the basic plumbing and architecture, the actual implementation is to follow.
…raise_trap" This reverts commit ec96631.
b0037c6 to
6f2bed2
Compare
@wakabat Just wanted to let you know that I've decided to skip the change from this initial PR, but it's going to come shortly after we merge this PR as it's a change that influences other targets as well. Addressed in #5821. |
|
@syrusakbary The PR is basically ready to be merged. However, it depends on a smaller tweaks to the CI when it comes to testing of |
99e77da to
490d62d
Compare
|
The CI job |
The PR adds the rudimentary support for RISC-V 64-bit target into the SinglePass compiler.
Even though, the code still needs some polishing and various TODOs must be addressed, the compiler can pass all (104) thespectests.TODOs:
location_cmp+jmp_on_Xneeds polishing as RISC-V target does not provide a FLAGS register (Singlepass: refactor condition jumps to single fn (jmp_on_condition) #5750).spec/address.wastis flaky (sometimes trap is not properly triggered)compilertests (including the WASI tests) are green nowMinor improvements:
Machinetrait - wipe unused entry points in the Trait