diff options
author | vlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4> | 2016-12-29 15:32:45 +0000 |
---|---|---|
committer | vlefevre <vlefevre@280ebfd0-de03-0410-8827-d642c229c3f4> | 2016-12-29 15:32:45 +0000 |
commit | 8c6c5fe85732e19c59f511955daf8bcf755005c8 (patch) | |
tree | 24994c362ac7d291a03c2425c7dce18aa45f7191 /acinclude.m4 | |
parent | 89fb4f3f30c6109f99c93887d1d8aeaac5314ced (diff) | |
download | mpfr-8c6c5fe85732e19c59f511955daf8bcf755005c8.tar.gz |
Improvement concerning the _mulx_u64 intrinsic.
git-svn-id: svn://scm.gforge.inria.fr/svn/mpfr/trunk@11104 280ebfd0-de03-0410-8827-d642c229c3f4
Diffstat (limited to 'acinclude.m4')
-rw-r--r-- | acinclude.m4 | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/acinclude.m4 b/acinclude.m4 index 8a249e174..21f88679f 100644 --- a/acinclude.m4 +++ b/acinclude.m4 @@ -482,11 +482,14 @@ static int f (double (*func)(double)) { return 0; } ],[AC_MSG_RESULT(no)]) dnl Check if _mulx_u64 is provided +dnl Note: This intrinsic is not standard, and ideally more checks should +dnl be done to make sure that the MPFR code matches what is expected on +dnl all compilers that provide it. AC_MSG_CHECKING([for _mulx_u64]) AC_LINK_IFELSE([AC_LANG_PROGRAM([[ #include <immintrin.h> ]], [[ - return _mulx_u64(17, 42, NULL); + return _mulx_u64(17, 42, (unsigned long long *) 0); ]])], [ AC_MSG_RESULT(yes) AC_DEFINE(HAVE_MULX_U64, 1,[Have _mulx_u64 function]) |