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

Update ThunkGenerator to handle multi-nested classes #109210

Merged
merged 4 commits into from
Nov 4, 2024

Conversation

saucecontrol
Copy link
Member

@saucecontrol saucecontrol commented Oct 25, 2024

This updates the generated code for R2R intrinsic class name to ISA mapping, fixing a mis-mapping for Avx10v1.V512 and setting it up to support the new approved APIs with nested V256 and V512 classes.

After fixing the logic, I noticed the generator started creating mappings for the double-nested _VL_X64 ISAs, which it turns out don't actually exist on the managed side. So I've removed those from the instruction set file and all references to them from JIT.

@dotnet-issue-labeler dotnet-issue-labeler bot added the needs-area-label An area label is needed to ensure this gets routed to the appropriate area owners label Oct 25, 2024
@dotnet-policy-service dotnet-policy-service bot added the community-contribution Indicates that the PR has been added by a community member label Oct 25, 2024
@saucecontrol saucecontrol marked this pull request as ready for review October 25, 2024 03:24
@saucecontrol
Copy link
Member Author

I can't set the area label, but I believe @davidwrighton owns this?

I have two other PRs held up by this change because they add unrecognized nested intrinsic classes.

@MichalStrehovsky
Copy link
Member

I can't set the area label, but I believe @davidwrighton owns this?

I have two other PRs held up by this change because they add unrecognized nested intrinsic classes.

Cc @tannergooding @dotnet/jit-contrib

@tannergooding
Copy link
Member

This needs a secondary review and for the conflict to be resolved before it can be merged.

@tannergooding
Copy link
Member

CC @dotnet/jit-contrib for secondary sign-off.

The changes here are relatively straightforward and mostly impact the tooling that generates the various InstructionSet_* defines, but do touch a couple of JIT files as well.

@tannergooding
Copy link
Member

CC @dotnet/jit-contrib for secondary sign-off.

@BruceForstall BruceForstall merged commit 0aa2b81 into dotnet:main Nov 4, 2024
101 checks passed
@saucecontrol saucecontrol deleted the thunkgenerator branch November 5, 2024 00:07
@github-actions github-actions bot locked and limited conversation to collaborators Dec 5, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
community-contribution Indicates that the PR has been added by a community member needs-area-label An area label is needed to ensure this gets routed to the appropriate area owners
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants