Uh oh!
There was an error while loading. Please reload this page.
ARm64/Sve: Fix the SVE_ComputeAddress* - #104039
Conversation
kunalspathak
commented
Jun 26, 2024
@dotnet/arm64-contrib |
Tagging subscribers to this area: @JulieLeeMSFT, @jakobbotsch |
a74nh
left a comment
There was a problem hiding this comment.
Nit: We could rearrange the ordering in hwinstrinsiclist so that NI_Sve_Compute8BitAddresses comes first.
Happy as it is.
Uh oh!
There was an error while loading. Please reload this page.
tannergooding
commented
Jun 26, 2024
We cannot, there is an expectation that the intrinsics are ordered alphabetically now so that resolution can be done via a binary search. |
| case NI_Sve_Compute32BitAddresses: | ||
| return 2; | ||
| case NI_Sve_Compute64BitAddresses: | ||
| return 4; |
There was a problem hiding this comment.
Is this meant to be 4? I thought you had it commented as 3 in the prior commit?
There was a problem hiding this comment.
yes, that is a typo. Great catch.
In #103778, we readjusted the ordering, but didn't encode that information in the instruction correctly.
https://github.com/dotnet/runtime/pull/103778/files#diff-3a0ae3f52b3651d14625d26a4ff55d5028a7116a6f8375a6ca13caa44ed8685f