Skip to content

Conversation

@mtijanic
Copy link
Collaborator

Compiler is generating dead MOVSP instructions in some cases when returning from a function, and merging a live one with a dead one causes issues, unsurprisingly.

So, disabling merging until #89 is implemented properly.

Testing

Added a test case that fails at TOT but passes with this change

Changelog

Fixed

  • Fixed STACK_UNDERFLOW errors when compiling with -O2

Licence

  • I am licencing my change under the project's MIT licence, including all changes to GPL-3.0 licenced parts of the codebase.

@mtijanic mtijanic merged commit 07cc5e3 into niv:master Jul 22, 2023
@mtijanic mtijanic deleted the disable-movsp-merge branch April 3, 2024 20:15
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.

1 participant