https://gcc.gnu.org/bugzilla/show_bug.cgi?id=125937
--- Comment #1 from Filip Kastl <pheeck at gcc dot gnu.org> ---
s491 also slowed down by 30% on the same commit on AMD Zen5 with -Ofast
-march=native
---- TSVC s491 ----
//int s491(int* __restrict__ ip)
real_t s491(struct args_t * func_args)
{
// vector semantics
// indirect addressing on lhs, store in sequence
// scatter is required
int * __restrict__ ip = func_args->arg_info;
initialise_arrays(__func__);
gettimeofday(&func_args->t1, NULL);
for (int nl = 0; nl < iterations; nl++) {
for (int i = 0; i < LEN_1D; i++) {
a[ip[i]] = b[i] + c[i] * d[i];
}
dummy(a, b, c, d, e, aa, bb, cc, 0.);
}
gettimeofday(&func_args->t2, NULL);
return calc_checksum(__func__);
}
---- ----