Skip to content

Add Arm64 encodings for IF_SVE_CX_4A group#95918

Merged
kunalspathak merged 4 commits intodotnet:mainfrom
SwapnilGaikwad:github-sve-cx_4a
Dec 18, 2023
Merged

Add Arm64 encodings for IF_SVE_CX_4A group#95918
kunalspathak merged 4 commits intodotnet:mainfrom
SwapnilGaikwad:github-sve-cx_4a

Conversation

@SwapnilGaikwad
Copy link
Contributor

This group emits various compare instructions.

This clr output matches the one from capstone.

...
cmpeq p15.b, p0/z, z0.b, z10.b 
cmpge p14.h, p1/z, z10.h, z23.h 
cmpgt p13.s, p2/z, z20.s, z24.s 
cmphi p12.d, p3/z, z30.d, z25.d 
cmphs p11.b, p4/z, z1.b, z26.b 
cmpge p10.h, p5/z, z27.h, z11.h 
cmphi p11.s, p6/z, z28.s, z12.s 
cmphs p0.d, p7/z, z29.d, z13.d 
cmpgt p2.b, p0/z, z30.b, z14.b 
cmpne p3.h, p1/z, z15.h, z20.h 
...

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

ghost commented Dec 12, 2023

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

Issue Details

This group emits various compare instructions.

This clr output matches the one from capstone.

...
cmpeq p15.b, p0/z, z0.b, z10.b 
cmpge p14.h, p1/z, z10.h, z23.h 
cmpgt p13.s, p2/z, z20.s, z24.s 
cmphi p12.d, p3/z, z30.d, z25.d 
cmphs p11.b, p4/z, z1.b, z26.b 
cmpge p10.h, p5/z, z27.h, z11.h 
cmphi p11.s, p6/z, z28.s, z12.s 
cmphs p0.d, p7/z, z29.d, z13.d 
cmpgt p2.b, p0/z, z30.b, z14.b 
cmpne p3.h, p1/z, z15.h, z20.h 
...
Author: SwapnilGaikwad
Assignees: -
Labels:

area-CodeGen-coreclr, community-contribution

Milestone: -

@SwapnilGaikwad
Copy link
Contributor Author

@a74nh , @kunalspathak , @BruceForstall

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.

Thanks for working on this @SwapnilGaikwad . Added some comments.

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. Thanks!

@kunalspathak kunalspathak merged commit 9378b06 into dotnet:main Dec 18, 2023
@SwapnilGaikwad SwapnilGaikwad deleted the github-sve-cx_4a branch December 20, 2023 10:49
@github-actions github-actions bot locked and limited conversation to collaborators Jan 20, 2024
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 arm-sve Work related to arm64 SVE/SVE2 support 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