-
Notifications
You must be signed in to change notification settings - Fork 4.9k
[APX] Make sure KMOV is not encoded in EVEX when JitStressEvexEncoding is set. #113854
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
Conversation
All failures look related to some timeout issue, I presume this is not related to my changes. PR is ready for review. |
{ | ||
// KMOV should not be encoded in EVEX when stressing EVEX, as they are supposed to encded in EVEX only | ||
// when APX is available, only stressing EVEX is not enough making the encoding valid. | ||
return false; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Or we can return UsePromotedEVEXEncoding()
here. Make sure KMOV can be stressed when APX is available.
Hi @BruceForstall, please also review this bug fix, thanks! |
/azp run runtime-coreclr jitstress-isas-avx512 |
Azure Pipelines successfully started running 1 pipeline(s). |
/ba-g unrelated azurelinux3 timeouts |
Fix #113814
KMOV
instructions will be able to be encoded in EVEX on APX enabled machine to address EGPRs, but on Avx512 machine, they can only be encoded in VEX.we should ensure KMOV has the right prefix under different cases, essentially in the bug, we are stressing original EVEX encoding by
JitStressEvexEncoding
. SoKMOV
should not be impacted and stay VEX-encoded.