Skip to content

Remove TR_X87_Mask guarded code #22103

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Spencer-Comin
Copy link
Contributor

X87 registers are no longer allocated.

Requires coordinated merge with eclipse-omr/omr#7799

X87 registers are no longer allocated.

Signed-off-by: Spencer Comin <spencer.comin@ibm.com>
@Spencer-Comin
Copy link
Contributor Author

Internal testing here

@Spencer-Comin Spencer-Comin requested a review from 0xdaryl June 16, 2025 22:57
@0xdaryl
Copy link
Contributor

0xdaryl commented Jun 16, 2025

@BradleyWood : please review

@@ -71,14 +71,11 @@ TR::Snippet *TR::X86MemImmSnippetInstruction::getSnippetForGC()
void TR::X86MemImmSnippetInstruction::assignRegisters(TR_RegisterKinds kindsToBeAssigned)
{
TR::X86MemImmInstruction::assignRegisters(kindsToBeAssigned);
if (kindsToBeAssigned & (TR_X87_Mask | TR_FPR_Mask))
if (kindsToBeAssigned & TR_FPR_Mask)
Copy link
Member

Choose a reason for hiding this comment

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

Can you confirm if TR_X87_Mask is ever set? If its not, then this probably doesn't depend on eclipse-omr/omr#7799 and we can avoid a coordinated merge situation.

Copy link
Member

Choose a reason for hiding this comment

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

It would avoid a coordinated merge, but I think this pull request would need to be merged before eclipse-omr/omr#7799 could be merged.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants