Optimize edata_cmp_summary_compare when __uint128_t is available

This commit is contained in:
Guangli Dai 2024-09-13 15:52:22 -07:00 committed by Qi Wang
parent 734f29ce56
commit 0181aaa495
3 changed files with 34 additions and 0 deletions

View file

@ -562,6 +562,21 @@ AC_CACHE_CHECK([asm volatile support],
if test "x${je_cv_asm_volatile}" = "xyes"; then
AC_DEFINE([JEMALLOC_HAVE_ASM_VOLATILE], [ ], [ ])
fi
AC_CACHE_CHECK([__int128 support],
[je_cv_int128],
AC_RUN_IFELSE([AC_LANG_PROGRAM(
[[
]],
[[
__int128 temp = 0;
return temp;
]])],
[je_cv_int128=yes],
[je_cv_int128=no],
[je_cv_int128=no]))
if test "x${je_cv_int128}" = "xyes"; then
AC_DEFINE([JEMALLOC_HAVE_INT128], [ ], [ ])
fi
LD_PRELOAD_VAR="LD_PRELOAD"
so="so"