Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

JIT: ARM64 SVE format encodings, SVE_BX_2A and SVE_BY_2A #99087

Merged
merged 2 commits into from
Mar 1, 2024

Conversation

TIHan
Copy link
Contributor

@TIHan TIHan commented Feb 28, 2024

Contributes to #94549

Adds formats:

  • SVE_BX_2A
  • SVE_BY_2A

Left: Capstone
Right: Jit
image

@ghost ghost assigned TIHan Feb 28, 2024
@dotnet-issue-labeler dotnet-issue-labeler bot added the area-CodeGen-coreclr CLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI label Feb 28, 2024
@ghost
Copy link

ghost commented Feb 28, 2024

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

Issue Details

Contributes to #94549

Adds formats:

  • SVE_BX_2A
  • SVE_BY_2A

Left: Capstone
Right: Jit
image

Author: TIHan
Assignees: TIHan
Labels:

area-CodeGen-coreclr

Milestone: -

@TIHan
Copy link
Contributor Author

TIHan commented Feb 28, 2024

@dotnet/jit-contrib @dotnet/arm64-contrib @a74nh @amanasifkhalid this is ready.

Copy link
Member

@amanasifkhalid amanasifkhalid 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!

Copy link
Contributor

@a74nh a74nh left a comment

Choose a reason for hiding this comment

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

LGTM

@kunalspathak kunalspathak added the arm-sve Work related to arm64 SVE/SVE2 support label Feb 29, 2024
assert(isVectorRegister(id->idReg1()));
assert(isVectorRegister(id->idReg2()));
assert(isScalableVectorSize(elemsize));
#ifdef DEBUG
Copy link
Member

Choose a reason for hiding this comment

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

don't think you need #ifdef DEBUG here. All these has is assert and compiler should be able to eliminate it.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yea, this has been commented about before. Personally, I like to have the ifdef for these situations as it distinguishes code that is for verification. Asserts on their own obviously don't need an ifdef, but for checks that require branching, I tend to wrap them around an ifdef.

Copy link
Member

@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

@TIHan TIHan merged commit eaa6f01 into dotnet:main Mar 1, 2024
129 checks passed
@TIHan TIHan deleted the arm64_sve_format_group15 branch March 1, 2024 03:10
@github-actions github-actions bot locked and limited conversation to collaborators Mar 31, 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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants