Quantcast
Channel: Intel® Many Integrated Core Architecture
Viewing all articles
Browse latest Browse all 1347

error:"Opcode unsupported on target architecture: movaps"

$
0
0

Hi, I am a new developer for mic. Rencent I met a problem confused me a lot.

the code like that:

__declspec (aligned(128)) float farray[] = {0.0, 2.0, 4.0, 6.0, 8.0, 10.0, 12.0, 14.0};
F32vec16 vecConst;
vecConst = *(F32vec16*)&farray[0];

first I compile in native mode like:

icpc -mmic -openmp......

it work well and run well in mic.

but when I want to use a offload mode (the code is in a #pragma offload region) and I compile with:

icpc -openmp ......

it report compile error: "error #13393: *MIC* Opcode unsupported on target architecture: movaps" in the line "vecConst = *(SIMDType*)&farray[0];"

I can not figure it out why?

Thanks.


Viewing all articles
Browse latest Browse all 1347

Trending Articles