Skip to content

Acclerate Vector512 multiply and divide.#84941

Merged
tannergooding merged 7 commits intodotnet:mainfrom
anthonycanino:avx512-divide
Apr 20, 2023
Merged

Acclerate Vector512 multiply and divide.#84941
tannergooding merged 7 commits intodotnet:mainfrom
anthonycanino:avx512-divide

Conversation

@anthonycanino
Copy link
Contributor

PR accelerates Vector512 multiply and divide ops.

@ghost ghost added the area-CodeGen-coreclr CLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI label Apr 17, 2023
@BruceForstall BruceForstall added the avx512 Related to the AVX-512 architecture label Apr 17, 2023
@anthonycanino anthonycanino marked this pull request as ready for review April 17, 2023 22:15
@BruceForstall
Copy link
Contributor

cc @dotnet/jit-contrib @dotnet/avx512-contrib

@anthonycanino
Copy link
Contributor Author

@tannergooding is anything more needed for this ?

{
assert((simdSize == 16) || (simdSize == 32));
assert((simdSize == 16) || (simdSize == 32) || (simdSize == 64));
assert(compIsaSupportedDebugOnly(InstructionSet_AVX512DQ_VL));
Copy link
Contributor

Choose a reason for hiding this comment

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

Just so that I understand, does compIsaSupportedDebugOnly(InstructionSet_AVX512DQ_VL) implicitely mean that compIsaSupportedDebugOnly(InstructionSet_AVX512DQ) is also true?

Copy link
Member

@tannergooding tannergooding Apr 20, 2023

Choose a reason for hiding this comment

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

Yes.

We model the hierarchy via inheritance and nested classes. So Avx512F implies all the ISAs it inherits from.

Avx512F.VL implies Avx512F and all the ISAs it inherits from. Likewise for Avx512F.X64, etc.

Copy link
Contributor

@kunalspathak kunalspathak left a comment

Choose a reason for hiding this comment

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

LGTM

@tannergooding
Copy link
Member

tannergooding commented Apr 20, 2023

Resolved the conflict from the just merged ConvertToInt32/Single PR

@tannergooding tannergooding merged commit ad8eaba into dotnet:main Apr 20, 2023
@ghost ghost locked as resolved and limited conversation to collaborators May 21, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

area-CodeGen-coreclr CLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI avx512 Related to the AVX-512 architecture

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants