Skip to content

Add lowering for get_One, get_AllBitSet, createScalar(), createScalarUnsafe(). - #83402

Merged
tannergooding merged 3 commits into
dotnet:mainfrom
DeepakRajendrakumaran:vector512API_2
Mar 15, 2023
Merged

Add lowering for get_One, get_AllBitSet, createScalar(), createScalarUnsafe().#83402
tannergooding merged 3 commits into
dotnet:mainfrom
DeepakRajendrakumaran:vector512API_2

Conversation

@DeepakRajendrakumaran

@DeepakRajendrakumaran DeepakRajendrakumaran commented Mar 14, 2023

Copy link
Copy Markdown
Contributor

This makes progress towards #80814. Also helps with #83354

@ghost ghost added area-CodeGen-coreclr CLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI community-contribution Indicates that the PR has been added by a community member labels Mar 14, 2023
@ghost

ghost commented Mar 14, 2023

Copy link
Copy Markdown

Tagging subscribers to this area: @JulieLeeMSFT, @jakobbotsch, @kunalspathak
See info in area-owners.md if you want to be subscribed.

Issue Details

This makes progress towards #80814 and #73604. Also helps with #83354

Author: DeepakRajendrakumaran
Assignees: -
Labels:

area-CodeGen-coreclr, community-contribution

Milestone: -

@DeepakRajendrakumaran

DeepakRajendrakumaran commented Mar 14, 2023

Copy link
Copy Markdown
Contributor Author

@tannergooding @BruceForstall @anthonycanino

Had to add a new instruction VPTERNLOG since cmp instruction previously used to set all bits would write result to k register. And that is not ideal. Everything else should be straightforward

Comment thread src/coreclr/jit/codegenxarch.cpp Outdated
Comment thread src/coreclr/jit/codegenxarch.cpp Outdated
Comment thread src/coreclr/jit/codegenxarch.cpp Outdated
@DeepakRajendrakumaran
DeepakRajendrakumaran force-pushed the vector512API_2 branch 2 times, most recently from 42dbaaa to 6096524 Compare March 14, 2023 22:12
@DeepakRajendrakumaran DeepakRajendrakumaran changed the title Add lowering for get_One, and get_AllBitSet. Add lowering for get_One, get_AllBitSet, createScalar(), createScalarUnsafe(). Mar 14, 2023
@DeepakRajendrakumaran
DeepakRajendrakumaran marked this pull request as ready for review March 14, 2023 22:38
Comment thread src/coreclr/jit/instrsxarch.h Outdated
Comment thread src/coreclr/jit/codegenxarch.cpp
@tannergooding

Copy link
Copy Markdown
Member

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

Failures are #83298 which has a revert PR up #83412

Tests covering the relevant changes did run and pass, despite the timeouts (can see that in the console log by searching for Vector512_1.Program.AllBitsSet and related entries).

@tannergooding
tannergooding merged commit 41cb2d3 into dotnet:main Mar 15, 2023
@BruceForstall BruceForstall added the avx512 Related to the AVX-512 architecture label Mar 27, 2023
@ghost ghost locked as resolved and limited conversation to collaborators Apr 26, 2023
@DeepakRajendrakumaran
DeepakRajendrakumaran deleted the vector512API_2 branch August 3, 2026 23:43
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 community-contribution Indicates that the PR has been added by a community member

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants