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

failure building test-simd.C on darwin (no avx) #363

Open
collares opened this issue May 13, 2022 · 0 comments
Open

failure building test-simd.C on darwin (no avx) #363

collares opened this issue May 13, 2022 · 0 comments

Comments

@collares
Copy link

This is with Clang 11. See #284 for an older version of this problem.

clang++ -DHAVE_CONFIG_H -I. -I..  -I..  -O2 -march=native -Wall -DNDEBUG -UDEBUG -I/nix/store/z69w4bjiqzdfkaqryvzqxqfw1aa31nbb-givaro-4.2.0/include    -g  -c -o test-simd.o test-simd.C
In file included from test-simd.C:30:
In file included from ../fflas-ffpack/fflas/fflas_simd.h:229:
In file included from ../fflas-ffpack/fflas/fflas_simd/simd128.inl:100:
../fflas-ffpack/fflas/fflas_simd/simd128_float.inl:242:37: error: '__builtin_ia32_vpermilps' needs target feature avx
        __m128d t1 = _mm_castps_pd (_mm_permute_ps (a, 0xd8));
                                    ^
/nix/store/9algqp49ny3ghkyvsnysh1k42ksac55p-clang-wrapper-11.1.0/resource-root/include/avxintrin.h:1088:11: note: expanded from macro '_mm_permute_ps'
  (__m128)__builtin_ia32_vpermilps((__v4sf)(__m128)(A), (int)(C))
          ^
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