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

Fix register check in LivenessAnalyzer::isMMX #1644

Merged
merged 3 commits into from Dec 22, 2023

Conversation

hainest
Copy link
Contributor

@hainest hainest commented Dec 13, 2023

There is no requirement that the two values for MMX be the same between the two architectures.

There is no requirement that the two values for MMX be the same
between the two architectures.
@hainest hainest added bug code cleanup Bring the code up to modern standards or remove deprecated features dataflowAPI This issue is directly related to dataflowAPI labels Dec 13, 2023
@hainest hainest requested a review from kupsch December 13, 2023 16:52
@hainest hainest self-assigned this Dec 13, 2023
Copy link
Contributor

@kupsch kupsch left a comment

Choose a reason for hiding this comment

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

This change would be correct, but there is an existing bug that should be fixed in both return expressions.

dataflowAPI/src/liveness.C Outdated Show resolved Hide resolved
MMX has the value 0x00090000, so any category with those two bits set
will match. Instead, we want to match the third nibble exactly.
@hainest
Copy link
Contributor Author

hainest commented Dec 21, 2023

@kupsch I just realized I closed the conversation, but forgot to write a message that I had updated the checks. Could you take a look?

@kupsch kupsch self-requested a review December 22, 2023 13:34
@hainest hainest merged commit c4c4ade into master Dec 22, 2023
3 checks passed
@hainest hainest deleted the thaines/fix_liveness_isMMX branch December 22, 2023 16:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug code cleanup Bring the code up to modern standards or remove deprecated features dataflowAPI This issue is directly related to dataflowAPI
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants