forked from wolfSSL/wolfssl
if icc doesn't have 128bit type on x64 don't use it
This commit is contained in:
@ -81,6 +81,7 @@ AC_CHECK_HEADERS([errno.h])
|
|||||||
AC_CHECK_LIB(network,socket)
|
AC_CHECK_LIB(network,socket)
|
||||||
AC_CHECK_SIZEOF(long long, 8)
|
AC_CHECK_SIZEOF(long long, 8)
|
||||||
AC_CHECK_SIZEOF(long, 4)
|
AC_CHECK_SIZEOF(long, 4)
|
||||||
|
AC_CHECK_TYPES(__uint128_t)
|
||||||
AC_C_BIGENDIAN
|
AC_C_BIGENDIAN
|
||||||
# mktime check takes forever on some systems, if time supported it would be
|
# mktime check takes forever on some systems, if time supported it would be
|
||||||
# highly unusual for mktime to be missing
|
# highly unusual for mktime to be missing
|
||||||
|
@ -70,6 +70,10 @@ extern "C" {
|
|||||||
#define MP_64BIT
|
#define MP_64BIT
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
/* if intel compiler doesn't provide 128 bit type don't turn on 64bit */
|
||||||
|
#if defined(MP_64BIT) && defined(__INTEL_COMPILER) && !defined(HAVE___UINT128_T)
|
||||||
|
#undef MP_64BIT
|
||||||
|
#endif
|
||||||
|
|
||||||
/* some default configurations.
|
/* some default configurations.
|
||||||
*
|
*
|
||||||
|
@ -73,6 +73,11 @@
|
|||||||
#if defined(__x86_64__) && !defined(FP_64BIT)
|
#if defined(__x86_64__) && !defined(FP_64BIT)
|
||||||
#define FP_64BIT
|
#define FP_64BIT
|
||||||
#endif
|
#endif
|
||||||
|
/* if intel compiler doesn't provide 128 bit type don't turn on 64bit */
|
||||||
|
#if defined(FP_64BIT) && defined(__INTEL_COMPILER) && !defined(HAVE___UINT128_T)
|
||||||
|
#undef FP_64BIT
|
||||||
|
#undef TFM_X86_64
|
||||||
|
#endif
|
||||||
#endif /* NO_64BIT */
|
#endif /* NO_64BIT */
|
||||||
|
|
||||||
/* try to detect x86-32 */
|
/* try to detect x86-32 */
|
||||||
|
Reference in New Issue
Block a user