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.
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: Add saturating decrement/increment by element count #102315
JIT ARM64-SVE: Add saturating decrement/increment by element count #102315
Changes from 28 commits
51c328b
286df97
a9f6aaa
a40951f
a43e870
e700111
a6cb5e3
1e6082f
84a5d22
4a9dc8a
5025a8c
b79c21d
ef74d46
999b5e4
e82dc4e
d021f18
9780f7d
646f03c
9c4bec7
cd779d5
c9569fc
38a5614
b66bab7
4414b33
b034ea7
a536c01
1c11ce2
6a3dfea
5cbd267
e7047ae
975eb1e
f6a232e
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
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.
can we be explicit about this?
assert((category == HW_Category_Scalar) || (id == SaturatingDecrementBy8BitElementCount) || (id == SaturatingIncrementBy8BitElementCount))
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.
At this point we've already potentially switched to the scalar variants. So the full assert would be:
Which feels excessive. Happy to switch if you still want.
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.
Fixed this by adding a DEBUG only bool.
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.
these are not
HW_Category_Scalar
and are not marked withisValidScalarIntrinsic
? does it work as expected?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.
thanks for reminding me offline that they are
HW_Category_SIMD
and so should be fine.