Software Archive
Read-only legacy content
17061 Discussions

Why MIC don't support opcode : _mm_or_si128

yu__frank
Beginner
264 Views

Hi All.

My sample code like this:

#pragma offload_attribute(push, target(mic))

#define __INTEL_COMPILER_USE_INTRINSIC_PROTOTYPES 1

 

#include "immintrin.h"

void test_func()

{

    __m128i a;

    __m128i b;

    __m128i c = _mm_or_si128(a, b);

}

#offload_attribute(pop)

 

ICC get some error:

error #13393: *MIC* Opcode unsupported on target architecture: por

catastrophic error: *MIC* Function contains unsupported data types or intrinsics on target architecture.

 

Is the MIC don't support the opcode : _mm_or_si128 ?

 

 

 

 

0 Kudos
1 Solution
McCalpinJohn
Honored Contributor III
264 Views

These intrinsics generate SSE or AVX instructions, which are not supported by the first generation Xeon Phi processors.   The first generation Xeon Phi has its own set of intrinsics which you can find listed at https://software.intel.com/sites/landingpage/IntrinsicsGuide/#techs=KNC

View solution in original post

0 Kudos
3 Replies
McCalpinJohn
Honored Contributor III
265 Views

These intrinsics generate SSE or AVX instructions, which are not supported by the first generation Xeon Phi processors.   The first generation Xeon Phi has its own set of intrinsics which you can find listed at https://software.intel.com/sites/landingpage/IntrinsicsGuide/#techs=KNC

0 Kudos
yu__frank
Beginner
264 Views

John , Thanks.

0 Kudos
yu__frank
Beginner
264 Views

John , Thanks.

0 Kudos
Reply