https://gcc.gnu.org/bugzilla/show_bug.cgi?id=121570
Andi Kleen <andi-gcc at firstfloor dot org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |andi-gcc at firstfloor dot org --- Comment #7 from Andi Kleen <andi-gcc at firstfloor dot org> --- On x86 with AVX512 the individual instructions can suppress exceptions without changing any state, which should be much faster. I guess you could have a avx512 optimized variant of this function which uses this facility. This might require a custom ABI for this case however.