Seems to work fine for me: https://gcc.godbolt.org/z/hPexshjoa
Likely a different compiler/version. GCC had this error for me recently:
error: inlining failed in call to 'always_inline' 'float _mm512_reduce_add_ps(__m512)': target specific option mismatch
Compiler Explorer link or it didn't happen? :-)
Likely a different compiler/version. GCC had this error for me recently:
error: inlining failed in call to 'always_inline' 'float _mm512_reduce_add_ps(__m512)': target specific option mismatch
Compiler Explorer link or it didn't happen? :-)