Skip to content
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

Review stack handling (especially 32-bit vs 64-bit dirty upper bits) #506

Closed
axic opened this issue Aug 24, 2020 · 0 comments · Fixed by #612
Closed

Review stack handling (especially 32-bit vs 64-bit dirty upper bits) #506

axic opened this issue Aug 24, 2020 · 0 comments · Fixed by #612

Comments

@axic
Copy link
Member

axic commented Aug 24, 2020

If we add an assert(i64 & 0xffffffff00000000) == 0) to as<uint32_t>() we get a lot of failures. As an example:

[ RUN      ] end_to_end.milestone2
Assertion failed: ((i64 & 0xffffffff00000000) == 0), function as, file /Users/alex/Projects/fizzy/lib/fizzy/value.hpp, line 59.
Abort trap: 6

The first instruction unit test failing is execute_numeric.i32_eqz. Haven't investigated further. The test branch is in value_assert.

This came up #464 (comment).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant