Hi Richard,
>> very true: unless you're intimately familar with vectorization, it's
>> quite some guesswork which effective-target to use currently.
>
> And even the vectorizer dump could be improved to mention relevant
> missed optabs (sometimes it's multiple ones or one of many, of course...)
indeed: the worst offender recently was PR tree-optimization/123195
where you get the most useless
gcc.dg/vect/pr104116-ceil-div-2.c:11:1: missed: no optab.
gcc.dg/vect/pr104116-ceil-div-2.c:11:1: missed: not vectorized: relevant stmt
not supported: _5 = _4 /[cl] 2;
message. I'd had to run a debug cc1 under gdb to determine which of the
two instances of the same message in tree-vect-stmts.cc
(vectorizable_shift, vectorizable_operation) this was from ;-(
Rainer
--
-----------------------------------------------------------------------------
Rainer Orth, Center for Biotechnology, Bielefeld University