Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Ensure that we add the broadcast and mask flags prior to computing the instruction size #105757

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 1 commit into from
Jul 31, 2024

Conversation

tannergooding
Copy link
Member

This resolves #105693

@dotnet-issue-labeler dotnet-issue-labeler bot added the area-CodeGen-coreclr CLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI label Jul 31, 2024
Comment on lines +7467 to +7468
SetEvexBroadcastIfNeeded(id, instOptions);
SetEvexEmbMaskIfNeeded(id, instOptions);
Copy link
Member Author

Choose a reason for hiding this comment

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

We have 37 instances where we SetEvex information, and this is the only place where it was happening in the wrong spot and is what was causing the size misprediction

Copy link
Member

@amanasifkhalid amanasifkhalid left a comment

Choose a reason for hiding this comment

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

I've verified locally that this fixes #105693. LGTM, though you may want a review from someone more knowledgeable of these encodings. Thanks!

@JulieLeeMSFT JulieLeeMSFT added this to the 9.0.0 milestone Jul 31, 2024
@tannergooding tannergooding merged commit baa8df8 into dotnet:main Jul 31, 2024
121 checks passed
@tannergooding tannergooding deleted the fix-105693 branch July 31, 2024 20:55
@github-actions github-actions bot locked and limited conversation to collaborators Aug 31, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-CodeGen-coreclr CLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI
Projects
None yet
Development

Successfully merging this pull request may close these issues.

JIT: Assertion failed 'estimatedSize >= actualSize' during 'Emit code'
4 participants