mirror of
https://github.com/jemalloc/jemalloc.git
synced 2026-04-14 14:41:42 +03:00
Optimize edata_cmp_summary_compare when __uint128_t is available
This commit is contained in:
parent
734f29ce56
commit
0181aaa495
3 changed files with 34 additions and 0 deletions
15
configure.ac
15
configure.ac
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue