On the other thread I commented that inbranch simdclones are failing for
AVX512F because it sets the mask_mode, for which inbranch hasn't been
implemented, and so it is rejected.
On 14/04/2023 11:25, Jakub Jelinek via Gcc-patches wrote:
On Fri, Apr 14, 2023 at 10:15:06AM +0000, Richard Biener wrote:
Oops. Indeed target_avx checks whether it can compile sth with
-O2 -mavx rather than verifying avx is present. I've seen scan
failures with -m32/-march=cascadelake on a zen2 host. I'm not exactly
sure why.
That is strange. Sure, -march=cascadelake implies -mavx (-mavx512f even),
but it would surprise me if on such a host avx_runtime wasn't true.
But we've been there before, I think cascadelake turns on the vector
epilogues.
In r13-6784 I've added --param vect-epilogues-nomask=0 to some testcases
that were affected at that point, but perhaps something is affected since
then. Will have a look.
Jakub