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

Many compilation errors (debian 8.0) #69

Closed
btrsdr opened this issue Dec 10, 2016 · 2 comments
Closed

Many compilation errors (debian 8.0) #69

btrsdr opened this issue Dec 10, 2016 · 2 comments

Comments

@btrsdr
Copy link

btrsdr commented Dec 10, 2016

src/dotprod/src/dotprod_cccf.mmx.c: In function ‘dotprod_cccf_execute_mmx’: src/dotprod/src/dotprod_cccf.mmx.c:225:12: warning: SSE vector return without SSE enabled changes the ABI [-Wpsabi] __m128 sum = _mm_setzero_ps(); // load zeros into sum register ^ In file included from src/dotprod/src/dotprod_cccf.mmx.c:41:0: /usr/lib/gcc/i586-linux-gnu/4.9/include/xmmintrin.h:115:1: error: inlining failed in call to always_inline ‘_mm_setzero_ps’: target specific option mismatch _mm_setzero_ps (void) ^ src/dotprod/src/dotprod_cccf.mmx.c:225:12: error: called from here __m128 sum = _mm_setzero_ps(); // load zeros into sum register ^ In file included from src/dotprod/src/dotprod_cccf.mmx.c:41:0: /usr/lib/gcc/i586-linux-gnu/4.9/include/xmmintrin.h:929:1: error: inlining failed in call to always_inline ‘_mm_loadu_ps’: target specific option mismatch _mm_loadu_ps (float const *__P) ^ src/dotprod/src/dotprod_cccf.mmx.c:240:11: error: called from here v = _mm_loadu_ps(&x[i]); ^ In file included from src/dotprod/src/dotprod_cccf.mmx.c:41:0: /usr/lib/gcc/i586-linux-gnu/4.9/include/xmmintrin.h:922:1: error: inlining failed in call to always_inline ‘_mm_load_ps’: target specific option mismatch _mm_load_ps (float const *__P) ^ src/dotprod/src/dotprod_cccf.mmx.c:243:12: error: called from here hi = _mm_load_ps(&_q->hi[i]); ^ In file included from src/dotprod/src/dotprod_cccf.mmx.c:41:0: /usr/lib/gcc/i586-linux-gnu/4.9/include/xmmintrin.h:922:1: error: inlining failed in call to always_inline ‘_mm_load_ps’: target specific option mismatch _mm_load_ps (float const *__P) ^ src/dotprod/src/dotprod_cccf.mmx.c:244:12: error: called from here hq = _mm_load_ps(&_q->hq[i]); ^ In file included from src/dotprod/src/dotprod_cccf.mmx.c:41:0: /usr/lib/gcc/i586-linux-gnu/4.9/include/xmmintrin.h:193:1: error: inlining failed in call to always_inline ‘_mm_mul_ps’: target specific option mismatch _mm_mul_ps (__m128 __A, __m128 __B) ^ src/dotprod/src/dotprod_cccf.mmx.c:247:12: error: called from here ci = _mm_mul_ps(v, hi); ^ In file included from src/dotprod/src/dotprod_cccf.mmx.c:41:0: /usr/lib/gcc/i586-linux-gnu/4.9/include/xmmintrin.h:193:1: error: inlining failed in call to always_inline ‘_mm_mul_ps’: target specific option mismatch _mm_mul_ps (__m128 __A, __m128 __B) ^ src/dotprod/src/dotprod_cccf.mmx.c:248:12: error: called from here cq = _mm_mul_ps(v, hq); ^ In file included from src/dotprod/src/dotprod_cccf.mmx.c:41:0: /usr/lib/gcc/i586-linux-gnu/4.9/include/xmmintrin.h:741:1: error: inlining failed in call to always_inline ‘_mm_shuffle_ps’: target specific option mismatch _mm_shuffle_ps (__m128 __A, __m128 __B, int const __mask) ^ src/dotprod/src/dotprod_cccf.mmx.c:251:12: error: called from here cq = _mm_shuffle_ps( cq, cq, _MM_SHUFFLE(2,3,0,1) ); ^ In file included from src/dotprod/src/dotprod_cccf.mmx.c:49:0: /usr/lib/gcc/i586-linux-gnu/4.9/include/pmmintrin.h:50:1: error: inlining failed in call to always_inline ‘_mm_addsub_ps’: target specific option mismatch _mm_addsub_ps (__m128 __X, __m128 __Y) ^ src/dotprod/src/dotprod_cccf.mmx.c:255:11: error: called from here s = _mm_addsub_ps( ci, cq ); ^ In file included from src/dotprod/src/dotprod_cccf.mmx.c:41:0: /usr/lib/gcc/i586-linux-gnu/4.9/include/xmmintrin.h:181:1: error: inlining failed in call to always_inline ‘_mm_add_ps’: target specific option mismatch _mm_add_ps (__m128 __A, __m128 __B) ^ src/dotprod/src/dotprod_cccf.mmx.c:258:13: error: called from here sum = _mm_add_ps(sum, s); ^ In file included from src/dotprod/src/dotprod_cccf.mmx.c:41:0: /usr/lib/gcc/i586-linux-gnu/4.9/include/xmmintrin.h:971:1: error: inlining failed in call to always_inline ‘_mm_store_ps’: target specific option mismatch _mm_store_ps (float *__P, __m128 __A) ^ src/dotprod/src/dotprod_cccf.mmx.c:276:5: error: called from here _mm_store_ps(w, sum);

@brian-armstrong
Copy link
Contributor

Hi @btrsdr

Try the solution to #67 #66 or #47 and see if that helps

@btrsdr
Copy link
Author

btrsdr commented Dec 12, 2016

Thanks for help!

@btrsdr btrsdr closed this as completed Dec 12, 2016
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