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

Make branch also last instruction without sw pipelining #150

Merged
merged 1 commit into from
Jan 7, 2025

Conversation

dop-amin
Copy link
Collaborator

@dop-amin dop-amin commented Jan 6, 2025

In a previous PR (#139), we allowed the branch instruction to be considered as part of the loop body and forced the branch to always be the last instruction in the loop.
However, we only applied this change for the case where the loop uses software pipelining. This PR enforces this for all loops, no matter whether software pipelining is enabled or not.

Copy link
Collaborator

@mkannwischer mkannwischer left a comment

Choose a reason for hiding this comment

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

Your comment was misaligned - I fixed it.
LGTM.

@mkannwischer mkannwischer merged commit 745e958 into slothy-optimizer:main Jan 7, 2025
13 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