Intel® C++ Compiler
Community support and assistance for creating C++ code that runs on platforms based on Intel® processors.
7944 Discussions

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

stephenXX
Novice
2,939 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
2,894 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
2,936 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?

0 Kudos
jimdempseyatthecove
Honored Contributor III
2,928 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
2,900 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.

0 Kudos
Viet_H_Intel
Moderator
2,923 Views

Do you know if you system supports AVX-512?


stephenXX
Novice
2,897 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.

0 Kudos
Viet_H_Intel
Moderator
2,895 Views

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


stephenXX
Novice
2,889 Views

What's the system minimum requirements?

^_^

0 Kudos
AbhishekD_Intel
Moderator
2,881 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-up-to-5-00-ghz.html

Check Instruction Set Extensions sections.

 

 

Warm Regards,

Abhishek

 

stephenXX
Novice
2,873 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

0 Kudos
AbhishekD_Intel
Moderator
2,844 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


0 Kudos
Reply