-
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
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 |
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
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
#ifdef
the usage ofsimd32_t
. That is a slightly more involved change and will be simpler with the template refactoring that #80960 was adding