CLion with Intel compiler on windows has problem with intrinsics


Using function _mm_extract_epi64 emits error

'_mm_extract_epi64' may be undeclared or unknown

Some intrinsics functions work, others don't. The difference is that _mm_extract_epi64 is defined as macro which is substituted to compiler builtin function __builtin_ia32_vec_ext_v2di which CLion fails to detect, but working functions such as _mm_set_epi64x are defined as inline functions.

Is there any fix?

1 comment
Comment actions Permalink


Thanks for creating the related issue in the tracker -


Please sign in to leave a comment.