https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79127
--- Comment #6 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Perhaps the HAVE_AVX512F configure test is too simple for the SEH purposes. I've tried: typedef double __m512d __attribute__ ((__vector_size__ (64))); typedef double __m256d __attribute__ ((__vector_size__ (32))); __m512d foo (__m512d, __m512d, __m512d, __m512d, __m512d, __m256d, __m512d, __m512d); __m512d _mm512_add (__m512d a, __m256d c) { __m512d b = __builtin_ia32_addpd512_mask (a, a, a, 1, 4); __m512d f = __builtin_ia32_addpd512_mask (b, a, a, 1, 4); __m512d g = __builtin_ia32_addpd512_mask (f, a, a, 1, 4); __m512d h = __builtin_ia32_addpd512_mask (g, a, a, 1, 4); __m512d e = foo (b, a, b, a, b, c, b, b); return __builtin_ia32_addpd512_mask (b, e, a, 1, 4) + f + g + h; } int main () { ; return 0; } but that still doesn't generate any .seh_savexmm directives (at least not in my cross-compiler).