Skip to content

Don't notify crossgen2 about Vector<T> size when not needed - #34614

Merged
davidwrighton merged 1 commit into
dotnet:masterfrom
davidwrighton:moreOpportunisticHandlingOfSubRegisterOps
Apr 30, 2020
Merged

Don't notify crossgen2 about Vector<T> size when not needed#34614
davidwrighton merged 1 commit into
dotnet:masterfrom
davidwrighton:moreOpportunisticHandlingOfSubRegisterOps

Conversation

@davidwrighton

Copy link
Copy Markdown
Member
  • Stop notifying about usage status of AVX2 when using isSubRegisterSIMDType
  • This allows use of the Vector2/3/4 simd types in crossgen'd code without fixing whether or not Avx2 is required

@Dotnet-GitSync-BotDotnet-GitSync-Bot added the area-CodeGen-coreclr CLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI label Apr 6, 2020
@davidwrighton

Copy link
Copy Markdown
MemberAuthor

@CarolEidt This is the issue I fixed conservatively before checking in my large hardware instrinsics pr(#33274 ).

@CarolEidtCarolEidt left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM

- Stop notifying about usage status of AVX2 when using isSubRegisterSIMDType
- This allows use of the Vector2/3/4 simd types in crossgen'd code without fixing whether or not Avx2 is required
@davidwrighton
davidwrightonforce-pushed the moreOpportunisticHandlingOfSubRegisterOps branch from 2eda040 to 51a0fabCompareApril 30, 2020 05:00
@davidwrighton

Copy link
Copy Markdown
MemberAuthor

I held off on checking this in waiting for good crossgen2 CI infrastructure to be put together. Now that we have it, its clear that the fix is good, and I'm checking in.

@davidwrighton
davidwrighton merged commit 71f84aa into dotnet:masterApr 30, 2020
@ghostghost locked as resolved and limited conversation to collaborators Dec 9, 2020
@davidwrighton
davidwrighton deleted the moreOpportunisticHandlingOfSubRegisterOps branch April 20, 2021 17:42
Sign up for freeto subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

area-CodeGen-coreclrCLR 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.

3 participants

@davidwrighton@CarolEidt@Dotnet-GitSync-Bot