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

Vector Uop Generator Bug #184

Merged

Conversation

aarongchan
Copy link
Collaborator

The following code:
vec_uop_gen_->getNumUopsRemaining() > 1
doesn't perform correctly for LMUL=2, because the num_uops_to_generate_ will be decremented to 1 on the setInst of VectorUopGenerator, so the 2nd uop is never generated.

This PR fixes logic and counting of Uops based on the parent instruction.

@aarongchan aarongchan added the bug Something isn't working label Jul 18, 2024
@aarongchan aarongchan self-assigned this Jul 18, 2024
@aarongchan aarongchan marked this pull request as ready for review July 18, 2024 19:52
Copy link
Collaborator

@kathlenemagnus kathlenemagnus left a comment

Choose a reason for hiding this comment

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

I think I fixed this in my other PR but I'll confirm that LMUL 2 works before I merge.

@kathlenemagnus kathlenemagnus merged commit 9e10a68 into riscv-software-src:master Jul 19, 2024
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants