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

Use valid instructions in StubPrecode and NDirectImportPrecode on x64 #34611

Merged
merged 1 commit into from
Apr 7, 2020

Conversation

jkotas
Copy link
Member

@jkotas jkotas commented Apr 6, 2020

StubPrecode and NDirectImportPrecode precoded used undefined instruction
encodings on x64 due to copy&paste from x86. Change them to use valid
instructions.

StubPrecode and NDirectImportPrecode precoded used undefined instruction
encodings on x64 due to copy&paste from x86. Change them to use valid
instructions.
@jkotas
Copy link
Member Author

jkotas commented Apr 6, 2020

More context #34462 (comment)

Copy link
Member

@davidwrighton davidwrighton left a comment

Choose a reason for hiding this comment

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

I checked the Agner Fog tables, clc is slightly cheaper than stc, but both are fast

@jkotas jkotas merged commit 1f0c9cd into dotnet:master Apr 7, 2020
@jkotas jkotas deleted the fix-precode branch April 7, 2020 04:38
@ghost ghost locked as resolved and limited conversation to collaborators Dec 9, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants