Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Novice
371 Views

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

Jump to solution

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

Accepted Solutions
Highlighted
Moderator
326 Views

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


View solution in original post

10 Replies
Highlighted
Novice
369 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
Highlighted
360 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

Highlighted
Moderator
356 Views

Do you know if you system supports AVX-512?


Highlighted
Novice
333 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
Highlighted
Novice
330 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
Highlighted
Moderator
327 Views

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


View solution in original post

Highlighted
Novice
321 Views

What's the system minimum requirements?

^_^

0 Kudos
Highlighted
Moderator
314 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

 

Highlighted
Novice
305 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
Highlighted
Moderator
276 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