I built a custom 64 bit dll with an export.def for the function exports.
The dll code is directly from Intel code samples for building custom IPP dlls. I use ippStaticInit(), not ippStaticInitCPU(id) .. so there should not be a problem there.
My system is i5 2500k, Windows 7, "x64 based PC"
The crash is on the vxorps instruction on the first call to ippsZero_32f
000007FEE52284F6 jg e9_ippsZero_32f+1Fh (7FEE52284FFh)
000007FEE52284F8 call e9_ownsZero_8u_E9 (7FEE52565C0h)
000007FEE52565C0 push rsi
000007FEE52565C1 push rdi
000007FEE52565C2 mov rdi,rcx
000007FEE52565C5 mov rsi,rdx
000007FEE52565C8 mov rax,rdi
000007FEE52565CB movsxd rsi,esi
000007FEE52565CE vxorps ymm0,ymm0,ymm0 ; illegal instruction
000007FEE52565D2 xor rdx,rdx
000007FEE52565D5 cmp rsi,100h
Seems like this is something to do with AVX, but why would that be illegal and what should I do?