222rohan

Results comments of 222rohan

> https://godbolt.org/z/oxofYc5EP > > Looks like patterns from LV still can't be handled? ~~@Andarwinux looks like it's znver6 specific, please assign it to me if you have an issue for...

> https://godbolt.org/z/3rGGz76ao > > -mprefer-vector-width=512 gets the expected codegen. > > So the issue is: should we remove TuningPrefer256Bit from x86-64-v4? I suggest we should; we are collecting some data...

ping - numbers from Intel machines could help move this issue forward

> I can't find the PR, but I did attempt to drop TuningPrefer256Bit from IceLake + later a few years ago and the Intel team were still finding regressions then...

> I took [@amd-subharad](https://github.com/amd-subharad) costing and tried lbm_r. Discussed with him as well. > What we see is on an Zen5 9950X, > 256-bit                    101.5s > 512-bit                       178.2s      -43.0% >...

DAGCombiner doesn't check for MUL_LOHI legality, and instead directly widens and forms the mul + shr sequence in visitMULH - is this intentional? Adding a guard for it would fix...

> visit?MUL_LOHI have a similar issue - hopefully its just a legality check on those DAG folds that needs fixing and we don't need any x86-specific kludges - i8/i16 will...

FYI Checked on a genoa machine insn | lat | rtpt | -- | -- | -- | pshufb xmm | 2.050 | 0.508 | vpshufb xmm| 2.056 | 0.508...