Make TYP_SIMD32 be xarch only#82624
Conversation
|
@tannergooding are +100 LOC of if-defs worth it? My personal experience that if-defs make code harder to read 🙁 |
|
@EgorBo, that's what the PR is for. It's here to measure the TP impact difference. Based on what we're seeing for the PR adding |
|
Instead of using |
|
I don't think it's worth doing so. That's just going to mean we also need Other architectures have instead been introducing "variable width" vectors (e.g. ARM SVE, or what RISC-V has) and the general If we do end up having to change it in the future, we could look at pulling it out then (and it's relatively simple to do so since it is just finding the few places |
|
Yep, this represents a CC. @dotnet/jit-contrib |
BruceForstall
left a comment
There was a problem hiding this comment.
LGTM
While it's hard to see new ifdefs added, I appreciate that it improves arm64, and especially allows the incoming TYP_SIMD64 to not affect arm64.
|
Bit less of an improvement with #82616 having been merged (it's |
Notably this does not also
#ifdefthe usage ofsimd32_t. That is a slightly more involved change and will be simpler with the template refactoring that #80960 was adding