Ganesh
Ganesh
@RKSimon If it is a direct replacement of an ISD node to X86 node, don't you suggest that to be done at DAG lowering\combiner than at Machine Combiner? Machine Combiner...
> getMaskedMemoryOpCost Thank you @RKSimon! Let me give it a try.
I am not sure why zen3 latency is 3 in uops.info. Using nanobench, I ran dependent VEXTRACTF128 instructions sudo ./kernel-nanoBench.sh -loop 10000 -asm "VEXTRACTF128 XMM0, YMM3, 2; VEXTRACTF128 XMM1, YMM0,...
I am not sure why zen3 latency is 3 in uops.info. Using nanobench, I ran dependent VEXTRACTF128 instructions sudo ./kernel-nanoBench.sh -loop 10000 -asm "VEXTRACTF128 XMM0, YMM3, 2; VEXTRACTF128 XMM1, YMM0,...
@dwblaikie Can you please send the invite?
> Zen 5 microarchitecture has a number of instructions with false dependencies on output registers, which is not reflected in LLVM's model. > > Specifically, there is a false dependency...
> Sorry, I should have been more precise. Do you think it is common enough to implement dependency-breaking anyway, or would it be better to leave this as is? I...
> As additional context for `tzcnt`/`bls*`, both aocc and gcc do break that dependencies when targeting Zen 5 (godbolt: [aocc](https://godbolt.org/z/bxqMnTcPn) [gcc](https://godbolt.org/z/3z7oqMj4r)). Perplexingly, [testing by Jan Hubicka](https://gcc.gnu.org/pipermail/gcc-patches/2025-March/676833.html) for the relevant gcc...
> Yes, I'd like to implement dependency breaking for tzcnt/bls*, and if you can provide information about Zen 6 I'll handle it as well. By the way, if you can...
LEA is tricky given each uarch behaves. Given that, I think we should start modeling the LEAs ops wise to make sure these can be captured in llvm-mca as well.