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

[Mips] Use ANDi in for zero-extend in subword atomic umax/umin for both r2 and pre-R2 #89881

Merged
merged 1 commit into from
Apr 24, 2024

Conversation

yingopq
Copy link
Contributor

@yingopq yingopq commented Apr 24, 2024

About unsigned max/min, ANDi is available for all ISA revisions in extend before slt insn.
So that we can reduce one instruction.

About unsigned max/min, ANDi is available for all ISA revisions in
extend before slt insn.
@yingopq
Copy link
Contributor Author

yingopq commented Apr 24, 2024

@wzssyqa please help review, thanks!

@wzssyqa wzssyqa changed the title [Mips] Delete ISA conditional judgment in unsigned atomic max/min extend [Mips] Use ANDi in for zero-extend in subword atomic umax/umin for both r2 and pre-R2 Apr 24, 2024
@wzssyqa wzssyqa merged commit e1aa162 into llvm:main Apr 24, 2024
4 of 5 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.

None yet

2 participants