[Bug libstdc++/125388] integer division of simd::vec incorrect with -ffast-math

pinskia at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed May 20 07:07:59 GMT 2026


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

--- Comment #8 from Drea Pinski <pinskia at gcc dot gnu.org> ---
```
#include <simd>

namespace simd = std::simd;

simd::vec<int, 4> f(simd::vec<int, 4> a, simd::vec<int, 4> b)
{
  return a / b;
}
```

Does not work for aarch64 so I don't know what you are talking about.


More information about the Gcc-bugs mailing list