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

Use SETF8/16 for 8/16-bit INC/DEC #3480

Merged
merged 5 commits into from
Mar 2, 2024
Merged

Conversation

alyssarosenzweig
Copy link
Collaborator

This isn't as useful as you'd like, since the definition of SETF seems to be broken (due to a fundamental misunderstanding at Arm about how OF works?). But it's still a win in this one case.

Copy link
Member

@Sonicadvance1 Sonicadvance1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fun little optimization. Weird overflow behaviour is weird.

would've got a bug in an earlier version of this series

Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
@alyssarosenzweig
Copy link
Collaborator Author

Realized on my walk tonight that I forgot to update the flag opt pass. Fixed, and added an instcountci test that would've flagged the problem (pun intended)

Copy link
Member

@Sonicadvance1 Sonicadvance1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice catch on the oversight there

@Sonicadvance1 Sonicadvance1 merged commit ea7d169 into FEX-Emu:main Mar 2, 2024
10 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.

2 participants