https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114958

--- Comment #3 from Matthias Kretz (Vir) <mkretz at gcc dot gnu.org> ---
Hmm, it actually fails on Clang because Clang requires the vector width of both
arguments to be equal.

But yes, I guess I should make __vec_shuffle friendlier to non-GCC compilers.
I'm not sure about backporting, maybe GCC 14.2 can get it?

I'd be happy for feedback about my dg-* usage, though. It's the first time I
try to require a certain optimized outcome. I guess it would be better to scan
for the shuffle pattern rather than the selected instruction? I'm a noob on
that topic.

Reply via email to