Ganesh
Ganesh
> Personally, I think TuningPrefer256Bit should be removed from X86_64V4Tuning, otherwise it will cause confusing behavior like [#215139](https://github.com/llvm/llvm-project/issues/215139). In V4, preferring 256 contradicts the base 512 ISA which led V4...
@RKSimon Thanks a ton!
Thank you @EugeneZelenko @tru @RKSimon
> I'm not saying your scenario is not important or do nothing with it. My point is the optimization is not in a wrong direction as you think but rationale...
> unrolling seems to have gone out of control - most likely due to the insane LoopMicroOpBufferSize value znver3/4 scheduler model uses @RKSimon It's a conscious decision to have some...
@RKSimon I will pick that up after @Systemcluster reports that. Thanks
> It generates gather for skylake which does not have AVX512, but not skylake-avx512 (which does). Skylake `hasAVX2()`, and I'm guessing `hasFastGather()`. > > Zen4's gathers are just as fast...
> An alternative is we just set the TuningPreferNoGather/TuningPreferNoScatter flags to znver4 I will post the code changes for this. @phoebewang what is your take on having NoScatter and NoGather...
I will take a look.
> Was there another good reason for approving [#85375](https://github.com/llvm/llvm-project/pull/85375) or was [#62026](https://github.com/llvm/llvm-project/issues/62026) just not considered at the time? There is a counter case https://github.com/llvm/llvm-project/issues/84182! So, a tuning option was added....