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

fix mstatus.sd not being calculated correctly #21

Merged
merged 1 commit into from
Apr 15, 2024

Conversation

ja2142
Copy link
Contributor

@ja2142 ja2142 commented Apr 14, 2024

Because of mstatus fs being stored separately from the rest of mstatus, and mstatus sd being calculated without taking fs into account, dirty fs didn't result in dirty sd and floating point context wasn't saved on context switches.

Should fix #17

@fnuecke
Copy link
Owner

fnuecke commented Apr 15, 2024

Wow, great catch, thanks a lot!

@fnuecke fnuecke merged commit 5b0d2a4 into fnuecke:main Apr 15, 2024
2 checks passed
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 this pull request may close these issues.

Incorrect floating point behaviour
2 participants