Community
cancel
Showing results for 
Search instead for 
Did you mean: 
yu__frank
Beginner
75 Views

Why MIC don't support opcode : _mm_or_si128

Jump to solution

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
Black Belt
75 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

3 Replies
McCalpinJohn
Black Belt
76 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

yu__frank
Beginner
75 Views

John , Thanks.

yu__frank
Beginner
75 Views

John , Thanks.

Reply