vectorial icon indicating copy to clipboard operation
vectorial copied to clipboard

illegal instruction

Open briviere opened this issue 9 years ago • 1 comments

I'm getting the following not sure why this would be happening. thanks

Program received signal SIGILL, Illegal instruction. 0x0000000000586ccc in simd4f_dot3 (lhs=..., rhs=...) at /home/briviere/pienoon/dependencies/vectorial/include/vectorial/simd4f_sse.h:160 160 return _mm_dp_ps(lhs, rhs, 0x7f);

briviere avatar Sep 09 '15 22:09 briviere

_mm_dp_ps is a SSE4.1 instruction, which is used if the compiler is enabled for generating SSE4.1 code, usually by a flag like -msse4.1. Are you perhaps running your code on a older machine that might not support that instruction? You might try to disable the 4.1 extensions, directly with a flag like -mno-sse4.1, or perhaps more sanely targeting your lowest supported cpu with -march

scoopr avatar Sep 13 '15 21:09 scoopr