Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

illegal instruction #8

Open
briviere opened this issue Sep 9, 2015 · 1 comment
Open

illegal instruction #8

briviere opened this issue Sep 9, 2015 · 1 comment

Comments

@briviere
Copy link

briviere commented Sep 9, 2015

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);

@scoopr
Copy link
Owner

scoopr commented Sep 13, 2015

_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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants