summaryrefslogtreecommitdiff
path: root/erts/configure
diff options
context:
space:
mode:
authorJohn Högberg <john@erlang.org>2023-02-06 12:57:17 +0100
committerJohn Högberg <john@erlang.org>2023-02-06 13:03:06 +0100
commitdcf48a7ba5f40573e0c6b3685632a7874f466b41 (patch)
tree4dbb6dc3790972857579b9a458ed3a41aaec58ed /erts/configure
parent3e59cb3d00936e58ef4418028f71073843745b2e (diff)
downloaderlang-dcf48a7ba5f40573e0c6b3685632a7874f466b41.tar.gz
Update configure scripts
Diffstat (limited to 'erts/configure')
-rwxr-xr-xerts/configure16
1 files changed, 7 insertions, 9 deletions
diff --git a/erts/configure b/erts/configure
index 27b889e370..a84ffe4342 100755
--- a/erts/configure
+++ b/erts/configure
@@ -13849,6 +13849,8 @@ printf "%s\n" "#define ETHR_HAVE___atomic_compare_exchange_n $have_atomic_ops" >
ethr_arm_dbm_st_instr_val=0
ethr_arm_dbm_ld_instr_val=0
ethr_arm_isb_sy_instr_val=0
+ ethr_arm_dc_cvau_instr_val=0
+ ethr_arm_ic_ivau_instr_val=0
case "$GCC-$host_cpu" in #(
yes-arm*|yes-aarch*) :
@@ -13990,7 +13992,6 @@ printf "%s\n" "$ethr_cv_arm_isb_sy_instr" >&6; }
if test $ethr_cv_arm_isb_sy_instr = yes; then
ethr_arm_isb_sy_instr_val=1
fi
-
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ARM 'dc cvau' instruction" >&5
printf %s "checking for ARM 'dc cvau' instruction... " >&6; }
if test ${ethr_cv_arm_dc_cvau_instr+y}
@@ -14005,8 +14006,8 @@ else $as_nop
int
main (void)
{
- char data[512];
- __asm__ __volatile__("dc cvau, %0" : "r" (data) : : "memory");
+
+ char data[512]; __asm__ __volatile__("dc cvau, %0" : "r" (data) : : "memory");
;
return 0;
@@ -14025,7 +14026,6 @@ printf "%s\n" "$ethr_cv_arm_dc_cvau_instr" >&6; }
if test $ethr_cv_arm_dc_cvau_instr = yes; then
ethr_arm_dc_cvau_instr_val=1
fi
-
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for ARM 'ic ivau' instruction" >&5
printf %s "checking for ARM 'ic ivau' instruction... " >&6; }
if test ${ethr_cv_arm_ic_ivau_instr+y}
@@ -14040,8 +14040,8 @@ else $as_nop
int
main (void)
{
- char data[512];
- __asm__ __volatile__("ic ivau, %0" : "r" (data) : : "memory");
+
+ char data[512]; __asm__ __volatile__("ic ivau, %0" : "r" (data) : : "memory");
;
return 0;
@@ -14058,9 +14058,8 @@ fi
{ printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ethr_cv_arm_ic_ivau_instr" >&5
printf "%s\n" "$ethr_cv_arm_ic_ivau_instr" >&6; }
if test $ethr_cv_arm_ic_ivau_instr = yes; then
- ethr_arm_dc_cvau_instr_val=1
+ ethr_arm_ic_ivau_instr_val=1
fi
-
;; #(
*) :
;;
@@ -14085,7 +14084,6 @@ printf "%s\n" "#define ETHR_HAVE_GCC_ASM_ARM_DC_CVAU_INSTRUCTION $ethr_arm_dc_cv
printf "%s\n" "#define ETHR_HAVE_GCC_ASM_ARM_IC_IVAU_INSTRUCTION $ethr_arm_ic_ivau_instr_val" >>confdefs.h
-
test $ethr_cv_32bit___sync_val_compare_and_swap = yes &&
ethr_have_gcc_native_atomics=yes
test $ethr_cv_64bit___sync_val_compare_and_swap = yes &&