Hi,
I need to build with option -axAVX using Intel compiler(ICPC C++ compiler),so that i can run on AVX supported Intel processor and also in non-AVX Intel processors.I was able to build successfully,but the the executable crashes(Segmentation Fault) when I run on Non-AVX processor.When i debugged i could see that the crash occurred in one of the automatically dispatched function.Without -axAVX the executable works fine.
My assumption is
-ax<code>
generate code specialized for processors specified by <codes>
while also generating generic IA-32 instructions.
My machine doesn't support AVX build,so the generic version should do the job,but doesn't wok for me.
Any thought on this?Please do help me in resolving this.
Regards,
Vaishak.