https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101471
Hongtao.liu <crazylht at gmail dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |wwwhhhyyy333 at gmail dot com --- Comment #2 from Hongtao.liu <crazylht at gmail dot com> --- w/ -O0, it's defined as macro #define _mm512_fpclass_ps_mask(x, c) \ ((__mmask16) __builtin_ia32_fpclassps512_mask ((__v16sf) (__m512) (x),\ (int) (c),(__mmask8)-1)) and (__mmask16)-1 should be used w/ -O2 it's ok extern __inline __mmask16 __attribute__ ((__gnu_inline__, __always_inline__, __artificial__)) _mm512_fpclass_ps_mask (__m512 __A, const int __imm) { return (__mmask16) __builtin_ia32_fpclassps512_mask ((__v16sf) __A, __imm, (__mmask16) -1); }