Add ARM64 encodings for group IF_SVE_CT_3A#98085
Merged
kunalspathak merged 3 commits intodotnet:mainfrom Feb 8, 2024
Merged
Conversation
|
Tagging subscribers to this area: @JulieLeeMSFT, @jakobbotsch Issue DetailsAdds support for encoding Contributing towards #94549.
|
Contributor
Author
|
@a74nh @kunalspathak @dotnet/arm64-contrib |
kunalspathak
suggested changes
Feb 7, 2024
src/coreclr/jit/emitarm64.cpp
Outdated
| break; | ||
|
|
||
| case IF_SVE_CT_3A: // ................ ...gggnnnnnddddd -- SVE reverse doublewords | ||
| assert(isVectorRegister(id->idReg3())); // ddddd |
Contributor
There was a problem hiding this comment.
Have these in order of reg1, reg2 and reg3
| INS_OPTS_SCALABLE_D); // CLASTB <R><dn>, <Pg>, <R><dn>, <Zm>.<T> | ||
|
|
||
| // IF_SVE_CT_3A | ||
| theEmitter->emitIns_R_R_R(INS_sve_revd, EA_SCALABLE, REG_V1, REG_P0, REG_V6); // REVD <Zd>.Q, <Pg>/M, <Zn>.Q |
Contributor
There was a problem hiding this comment.
since all the tests are identical, 1 or 2 cases should be sufficient enough.
src/coreclr/jit/emitarm64.cpp
Outdated
|
|
||
| case IF_SVE_CT_3A: // ................ ...gggnnnnnddddd -- SVE reverse doublewords | ||
| assert(isVectorRegister(id->idReg3())); // ddddd | ||
| assert(isPredicateRegister(id->idReg2())); // ggg |
Contributor
There was a problem hiding this comment.
Suggested change
| assert(isPredicateRegister(id->idReg2())); // ggg | |
| assert(isLowPredicateRegister(id->idReg2())); // ggg |
src/coreclr/jit/emitarm64.cpp
Outdated
|
|
||
| case INS_sve_revd: | ||
| assert(isVectorRegister(reg1)); // ddddd | ||
| assert(isPredicateRegister(reg2)); // ggg |
Contributor
There was a problem hiding this comment.
Suggested change
| assert(isPredicateRegister(reg2)); // ggg | |
| assert(isLowPredicateRegister(reg2)); // ggg |
Diff results for #98085Throughput diffsThroughput diffs for linux/arm64 ran on linux/x64MinOpts (-0.00% to +0.01%)
Throughput diffs for windows/arm64 ran on linux/x64MinOpts (-0.00% to +0.01%)
Details here |
Diff results for #98085Throughput diffsThroughput diffs for linux/arm64 ran on windows/x64MinOpts (-0.00% to +0.01%)
Throughput diffs for windows/arm64 ran on windows/x64MinOpts (-0.00% to +0.01%)
Details here |
This was referenced Feb 7, 2024
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds support for encoding
revd. Matching capstone:Contributing towards #94549.