On 08/27/2017 09:36 PM, Jon Beniston wrote: > I have an out-of-tree GCC port and it is struggling supporting > auto-vectorization on some dot product instructions. For example, I have an > instruction that takes three operands which are all 32-bit general > registers. The second and third operands will be treated as V2HI then do dot > product, and then generate an SI result which is then added to the first > operand which is SI as well.
This seems to ring a bell. I think I submitted a patch for this here - is this the same problem? https://gcc.gnu.org/ml/gcc-patches/2010-12/msg01724.html Bernd