Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
elpa
elpa
Commits
e9698a6c
Commit
e9698a6c
authored
Jan 10, 2018
by
Andreas Marek
Browse files
Fix configure script
parent
e5372f77
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
configure.ac
View file @
e9698a6c
...
@@ -852,6 +852,8 @@ if test x"${need_avx512}" = x"yes"; then
...
@@ -852,6 +852,8 @@ if test x"${need_avx512}" = x"yes"; then
fi
fi
AC_DEFINE([HAVE_AVX512],[1],[AVX512 is supported on this CPU])
AC_DEFINE([HAVE_AVX512],[1],[AVX512 is supported on this CPU])
echo "AVX512 allgemein " $can_compile_avx512
if test x"$can_compile_avx512" = x"yes"; then
if test x"$can_compile_avx512" = x"yes"; then
AC_MSG_CHECKING([whether we compile for Xeon PHI or Xeon])
AC_MSG_CHECKING([whether we compile for Xeon PHI or Xeon])
AC_COMPILE_IFELSE([AC_LANG_SOURCE([
AC_COMPILE_IFELSE([AC_LANG_SOURCE([
...
@@ -872,6 +874,7 @@ if test x"${need_avx512}" = x"yes"; then
...
@@ -872,6 +874,7 @@ if test x"${need_avx512}" = x"yes"; then
int main(int argc, char **argv){
int main(int argc, char **argv){
__m512d sign;
__m512d sign;
__m512d h1;
__m512d h1;
__m512d h2_real;
__m512d x1 = (__m512d) _mm512_xor_epi64((__m512i) h2_real, (__m512i) sign);
__m512d x1 = (__m512d) _mm512_xor_epi64((__m512i) h2_real, (__m512i) sign);
return 0;
return 0;
...
@@ -880,6 +883,8 @@ if test x"${need_avx512}" = x"yes"; then
...
@@ -880,6 +883,8 @@ if test x"${need_avx512}" = x"yes"; then
[can_compile_avx512_xeon_phi=yes],
[can_compile_avx512_xeon_phi=yes],
[can_compile_avx512_xeon_phi=no]
[can_compile_avx512_xeon_phi=no]
)
)
echo $can_compile_avx512_xeon
echo $can_compile_avx512_xeon_phi
if test x"$can_compile_avx512_xeon" = x"yes"; then
if test x"$can_compile_avx512_xeon" = x"yes"; then
AC_DEFINE([HAVE_AVX512_XEON],[1],[AVX512 for Xeon is supported on this CPU])
AC_DEFINE([HAVE_AVX512_XEON],[1],[AVX512 for Xeon is supported on this CPU])
else
else
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment