Intel® C++ Compiler
Support and discussions for creating C++ code that runs on platforms based on Intel® processors.
Announcements
Welcome to the Intel Community. If you get an answer you like, please mark it as an Accepted Solution to help others. Thank you!
7568 Discussions

win10 +visual studio2019+intel c++ 19.1 + 0xC0000001D Illegal Instruction

stephenXX
Novice
1,051 Views

I attempt  to use AVX512 instruction Set in VS 2019(intel c++ compiler),

when I used __mm512_load_espi512()  or __mm512_load_si512() fuction,

The system printed 0xC000001D :Illegal Instruction error,

I don't know the reason.

zmmintrin.h file was included.

Plz help me fix it,

Best reguards.

The code file is attached.

0 Kudos
1 Solution
Viet_H_Intel
Moderator
1,006 Views

Your CPU only supports up to AVX2, which explained why you got "illegal instructions error".


View solution in original post

10 Replies
stephenXX
Novice
1,049 Views

when I compile the code ,both _mm512_load_si512()  and  _mm512_store_si512 () function are undifined.

But the head file included.

I don't know why?

jimdempseyatthecove
Black Belt
1,040 Views

You can use _mm512_load_epi32

They (_mm512_load_si512 and _mm512_load_epi32) use the same instruction vmovdqa32.

 

https://software.intel.com/sites/landingpage/IntrinsicsGuide/#text=_mm512_load&expand=3345,3304

 
 

Hmm? Paste of image from clipboard no longer working....

2020-07-10_8-23-03.jpg

Jim Dempsey

stephenXX
Novice
1,013 Views

hi,Mr.Jim

Thank you very much for your reply.

Also,I used the instruction (_mm512_load_epi32),AVX2 instructions running good, additionally, I tested the other AVX512 instructions , it's the same issue.That doesn't seem to be the reason.

Viet_H_Intel
Moderator
1,036 Views

Do you know if you system supports AVX-512?


stephenXX
Novice
1,010 Views

I don't know the system requirements of the AVX-512.

My Notebook system is Win10/CPU core is intel i7-10750H/memory is 16G.

Pls help check if it support ?Thanks so much.

Viet_H_Intel
Moderator
1,007 Views

Your CPU only supports up to AVX2, which explained why you got "illegal instructions error".


View solution in original post

stephenXX
Novice
1,001 Views

What's the system minimum requirements?

^_^

AbhishekD_Intel
Moderator
994 Views

Hi Stephen,

 

As already mentioned in the above reply by Viet, your processor does not support AVX-512. For more details, you can refer to the below link to get more details.

https://ark.intel.com/content/www/us/en/ark/products/201837/intel-core-i7-10750h-processor-12m-cache...

Check Instruction Set Extensions sections.

 

 

Warm Regards,

Abhishek

 

stephenXX
Novice
985 Views

hi,Abhishek

Thanks for your detailed reply, and I got it . 

Maybe I have to buy a new PC to solve this question.

^_^

Best regards,

stephen

AbhishekD_Intel
Moderator
956 Views

Hi,

As your issue is resolved can we close this thread?

You are always welcome to post a new thread if you have any issues.



Warm Regards,

Abhishek


Reply