[Bug target/124377] 100% slowdown of the s481 benchmark from TSVC on aarch64
pinskia at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Mar 5 17:39:53 GMT 2026
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=124377
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution|--- |INVALID
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
This is expected. Use -fno-trapping-math as this loop is no longer vectorized:\
```
for (int i = 0; i < LEN_1D; i++) {
if (d[i] < (real_t)0.) {
exit (0);
}
a[i] += b[i] * c[i];
}
```
Due to having trapping expression after the early break.
More information about the Gcc-bugs
mailing list