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

sandybridge: Does not compile with -dnoopt #49

Closed
bluss opened this issue Mar 25, 2016 · 1 comment
Closed

sandybridge: Does not compile with -dnoopt #49

bluss opened this issue Mar 25, 2016 · 1 comment

Comments

@bluss
Copy link

bluss commented Mar 25, 2016

The sandybridge configuration does not compile with -dnoopt, it requires avx.

The following would fix it:

COPTFLAGS      := -O0 -march=native

Sample error, using gcc (gcc version 5.3.1 20160316 (Debian 5.3.1-12))

config/sandybridge/kernels/3/bli_gemm_int_d8x4.c: In functionbli_dgemm_int_8x4’:
config/sandybridge/kernels/3/bli_gemm_int_d8x4.c:111:10: warning: AVX vector return without AVX enabled changes the ABI [-Wpsabi]
  va0_3b0 = _mm256_setzero_pd();
          ^
In file included from /usr/lib/gcc/x86_64-linux-gnu/5/include/immintrin.h:41:0,
                 from config/sandybridge/kernels/3/bli_gemm_int_d8x4.c:36:
/usr/lib/gcc/x86_64-linux-gnu/5/include/avxintrin.h:834:1: error: inlining failed in call to always_inline_mm256_load_pd’: target specific option mismatch
 _mm256_load_pd (double const *__P)
 ^
@bluss
Copy link
Author

bluss commented Mar 28, 2016

This was fixed. Thanks a lot!

@bluss bluss closed this as completed Mar 28, 2016
myeh01 added a commit to sifive/sifive-blis that referenced this issue Aug 1, 2024
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

1 participant