Skip to content

Update ThunkGenerator to handle multi-nested classes - #109210

Merged
BruceForstall merged 4 commits into
dotnet:mainfrom
saucecontrol:thunkgenerator
Nov 4, 2024
Merged

Update ThunkGenerator to handle multi-nested classes#109210
BruceForstall merged 4 commits into
dotnet:mainfrom
saucecontrol:thunkgenerator

Conversation

@saucecontrol

@saucecontrol saucecontrol commented Oct 25, 2024

Copy link
Copy Markdown
Member

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.

@ghost ghost 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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
Member

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

@tannergooding

Copy link
Copy Markdown
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
Copy Markdown
Member

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

@BruceForstall
BruceForstall merged commit 0aa2b81 into dotnet:main Nov 4, 2024
@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