Skip to content

Partially revert #1987 to fix regrssion in vsra.vi and vssra.vi #1997

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

Merged
merged 2 commits into from
May 21, 2025

Conversation

aswaterman
Copy link
Collaborator

Resolves #1996.

Use arithmetic shifts, not logical shifts.

I broke these instructions while fixing #1915.

Use arithmetic shifts, not logical shifts.

I broke them while fixing #1915.
@aswaterman aswaterman requested a review from jerryz123 May 21, 2025 23:11
@aswaterman aswaterman enabled auto-merge May 21, 2025 23:11
Copy link
Collaborator

@jerryz123 jerryz123 left a comment

Choose a reason for hiding this comment

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

Ah right, the mix of signed/unsigned operands doesn't work with VI_VI_(U)LOOP.

@aswaterman aswaterman merged commit a3dbcba into master May 21, 2025
3 checks passed
@aswaterman aswaterman deleted the fix-1996 branch May 21, 2025 23:33
@aswaterman
Copy link
Collaborator Author

Yeah, oops.

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.

vssra.vi and vsra.vi don't sign extend vs2
2 participants