-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
Conversation
Tagging subscribers to this area: @JulieLeeMSFT, @jakobbotsch Issue DetailsContributes to #94549 Adds formats:
|
@dotnet/jit-contrib @dotnet/arm64-contrib @a74nh @amanasifkhalid this is ready. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
assert(isVectorRegister(id->idReg1())); | ||
assert(isVectorRegister(id->idReg2())); | ||
assert(isScalableVectorSize(elemsize)); | ||
#ifdef DEBUG |
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Contributes to #94549
Adds formats:
Left: Capstone
Right: Jit