-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Build new instruction selector / machine-code emission backend #1174
Comments
* Add TLS support * Add binemit and legalize tests * Spill all caller-saved registers when necessary
I'm getting a compile error with building for aarch64-unknown-linux-gnu on current master, and found this pullrequest as the culprit when bisecting the issue. Here's the error:
It's propably worth noting that this only happens when executing |
verbose log from --verbose: verbose-log.gz is it okay to discuss this matter here, or would you like to see a new issue for it? |
@stefson This is an issue, not a pull request. I think you want bytecodealliance/cranelift#1174 instead. The PR number you are looking at is from before cranelift was moved into wasmtime. Also, I'm pretty sure cranelift doesn't support aarch64 yet, even if it happened to compile before that PR (in fact, this issue is about enabling an arm64 backend, but see also #1075). Also related, it doesn't support arm32 either (#1173), which I think you have also been trying to build for. |
Where's the sense in arguing about issue and pullrequest please, especially since #1174 is clearly linked to this thread. It's rather unlikely that the backends work yet, but can't say for sure if they do without building them from source and do some testing. This patch clearly regressed big time, my message is meant to inform the author about the possibly unintended breakage. |
I was trying to be helpful and point out a misunderstanding, not argue. You want bytecodealliance/cranelift#1174, not this issue. The author of this issue was not the author of that PR. |
it's this commit that caused the regression: 0a1bb3b something at github seems to have been broken by integrating cranelift, making me turning up here if I try to follow the linked issue from that very commit. I'll continue to post over there. |
@stefson: To clear up one additional thing: the ARM64 backend is not on mainline yet, so notwithstanding any other recent commits or other changes, one should not expect a build on ARM64 to work quite yet. We're getting close though :-) |
This issue will track progress on our new instruction selector / machine-code emission work, which has been ongoing (in design and initial implementation).
The scope of the work is:
minira
CodeSink
from the above representationAs discussed among @sunfishcode, @julian-seward1, @bnjbvr, and others, we want to do this work in order to clean up the story for a new machine backend, as recipes had become difficult to write and maintain.
The system will be co-developed with an initial backend for ARM64 using the new interfaces.
The text was updated successfully, but these errors were encountered: