Add 64-bit integer utilities

This commit is contained in:
Greg Maxwell
2015-08-05 16:17:50 +02:00
committed by Tim Ruffing
parent 2309c7dd4a
commit 3cf8f70ba1
5 changed files with 102 additions and 3 deletions

View File

@@ -238,6 +238,12 @@ else
set_precomp=no
fi
AC_MSG_CHECKING([for __builtin_clzll])
AC_COMPILE_IFELSE([AC_LANG_SOURCE([[void myfunc() { __builtin_clzll(1);}]])],
[ AC_MSG_RESULT([yes]);AC_DEFINE(HAVE_BUILTIN_CLZLL,1,[Define this symbol if __builtin_clzll is available]) ],
[ AC_MSG_RESULT([no])
])
if test x"$req_asm" = x"auto"; then
SECP_64BIT_ASM_CHECK
if test x"$has_64bit_asm" = x"yes"; then