[Bug tree-optimization/88464] AVX-512 vectorization of masked scatter failing with "not suitable for scatter store"
rguenth at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Dec 12 14:10:00 GMT 2018
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88464
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |kirill.yukhin at intel dot com
--- Comment #3 from Richard Biener <rguenth at gcc dot gnu.org> ---
Looks like there are no scatter patterns with DFmode, only SFmode ones? But
even
void loop (float * __restrict__ a, float const * __restrict__ b, int const *
__restrict__ off1, int const * __restrict__ off2, int n)
{
#if defined(__clang__)
#pragma clang loop vectorize(assume_safety)
#elif defined(__GNUC__)
#pragma GCC ivdep
#endif
for (int i = 0; i < n; ++i)
{
if (b[i] < b[i])
a[off1[i]] = b[i];
else
a[off2[i]] = b[i];
}
}
doesn't work.
More information about the Gcc-bugs
mailing list