-
Notifications
You must be signed in to change notification settings - Fork 22
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
[1/2] stdlib blake3 call MASM compilation test #177
Conversation
f417f35
to
c5919f4
Compare
31f9986
to
139fad4
Compare
38bfc78
to
0b50c12
Compare
0b50c12
to
820cd76
Compare
b5a26a7
to
5c7f9ae
Compare
2b83db9
to
100cf05
Compare
5c7f9ae
to
0f544c1
Compare
a41bc0a
to
afc1e5e
Compare
@bitwalker I rebased this PR on top of #182, and now I hit an assertion in compiler/codegen/masm/src/codegen/emitter.rs Line 1006 in afc1e5e
Here is the backtrace:
|
Do you have some repro steps I can follow to replicate locally? I'll need to poke at it a bit. Definitely odd that a controlling loop is set, but the transition (current_block -> target_block) is going from a block that ostensibly doesn't belong to a loop, to one that does - in that scenario, there should be no controlling loop (otherwise You can try disabling the assertion temporarily to see how far that gets you while I investigate, but that will only help you if the assertion is overly restrictive. |
After disabling the assertion, I hit the addressable stack limit(16) with index 16. |
Awesome 🤦, I was hoping we'd have a bit more time before hitting that wall, but I guess at least now we have an easily reproducible real-world program that hits it. I'll add this to my TODO list |
64fb000
to
3ba2610
Compare
afc1e5e
to
c9595e8
Compare
c9595e8
to
afc1e5e
Compare
afc1e5e
to
2036f9a
Compare
6f42ceb
to
95f268a
Compare
This PR adds a compilation test for calling the blake3 hash function from the stdlib.