From: Mike Frysinger Date: Sun, 16 May 2021 03:50:33 +0000 (-0400) Subject: sim: riscv: move __int128 check to configure X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=79633c125eb260a9ac9ed49e314b916f353c4373;p=binutils-gdb.git sim: riscv: move __int128 check to configure --- diff --git a/sim/ChangeLog b/sim/ChangeLog index 61bb0f4e030..81d2f348971 100644 --- a/sim/ChangeLog +++ b/sim/ChangeLog @@ -1,3 +1,7 @@ +2021-05-15 Mike Frysinger + + * m4/sim_ac_common.m4: Check for __int128 type. + 2021-05-14 Mike Frysinger * README-HACKING: Update callback.h path. diff --git a/sim/aarch64/ChangeLog b/sim/aarch64/ChangeLog index 085aea6dfb6..dc3eee25dd7 100644 --- a/sim/aarch64/ChangeLog +++ b/sim/aarch64/ChangeLog @@ -1,3 +1,7 @@ +2021-05-16 Mike Frysinger + + * config.in, configure: Regenerate. + 2021-05-14 Mike Frysinger * cpustate.h: Update include path. diff --git a/sim/aarch64/config.in b/sim/aarch64/config.in index c694fde2126..a7c8785901b 100644 --- a/sim/aarch64/config.in +++ b/sim/aarch64/config.in @@ -139,6 +139,9 @@ /* Define to 1 if you have the header file. */ #undef HAVE_WINDOWS_H +/* Define to 1 if the system has the type `__int128'. */ +#undef HAVE___INT128 + /* Define to 1 if you have the `__setfpucw' function. */ #undef HAVE___SETFPUCW diff --git a/sim/aarch64/configure b/sim/aarch64/configure index 28044c96452..68f9e194409 100755 --- a/sim/aarch64/configure +++ b/sim/aarch64/configure @@ -7491,6 +7491,16 @@ cat >>confdefs.h <<_ACEOF _ACEOF +fi + +ac_fn_c_check_type "$LINENO" "__int128" "ac_cv_type___int128" "$ac_includes_default" +if test "x$ac_cv_type___int128" = xyes; then : + +cat >>confdefs.h <<_ACEOF +#define HAVE___INT128 1 +_ACEOF + + fi ac_fn_c_check_type "$LINENO" "socklen_t" "ac_cv_type_socklen_t" "#include @@ -11197,7 +11207,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 11200 "configure" +#line 11210 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -11303,7 +11313,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 11306 "configure" +#line 11316 "configure" #include "confdefs.h" #if HAVE_DLFCN_H diff --git a/sim/arm/ChangeLog b/sim/arm/ChangeLog index 5282e70a81a..c85e70563ae 100644 --- a/sim/arm/ChangeLog +++ b/sim/arm/ChangeLog @@ -1,3 +1,7 @@ +2021-05-16 Mike Frysinger + + * config.in, configure: Regenerate. + 2021-05-14 Mike Frysinger * armos.c (ARMul_OSHandleSWI): Delete 2nd arg to time callback. diff --git a/sim/arm/config.in b/sim/arm/config.in index c694fde2126..a7c8785901b 100644 --- a/sim/arm/config.in +++ b/sim/arm/config.in @@ -139,6 +139,9 @@ /* Define to 1 if you have the header file. */ #undef HAVE_WINDOWS_H +/* Define to 1 if the system has the type `__int128'. */ +#undef HAVE___INT128 + /* Define to 1 if you have the `__setfpucw' function. */ #undef HAVE___SETFPUCW diff --git a/sim/arm/configure b/sim/arm/configure index 1c2b06b60de..abacc83a29a 100755 --- a/sim/arm/configure +++ b/sim/arm/configure @@ -7491,6 +7491,16 @@ cat >>confdefs.h <<_ACEOF _ACEOF +fi + +ac_fn_c_check_type "$LINENO" "__int128" "ac_cv_type___int128" "$ac_includes_default" +if test "x$ac_cv_type___int128" = xyes; then : + +cat >>confdefs.h <<_ACEOF +#define HAVE___INT128 1 +_ACEOF + + fi ac_fn_c_check_type "$LINENO" "socklen_t" "ac_cv_type_socklen_t" "#include @@ -11197,7 +11207,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 11200 "configure" +#line 11210 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -11303,7 +11313,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 11306 "configure" +#line 11316 "configure" #include "confdefs.h" #if HAVE_DLFCN_H diff --git a/sim/avr/ChangeLog b/sim/avr/ChangeLog index 128d14bfb5b..ce0978394b7 100644 --- a/sim/avr/ChangeLog +++ b/sim/avr/ChangeLog @@ -1,3 +1,7 @@ +2021-05-16 Mike Frysinger + + * config.in, configure: Regenerate. + 2021-05-14 Mike Frysinger * interp.c: Update include path. diff --git a/sim/avr/config.in b/sim/avr/config.in index c694fde2126..a7c8785901b 100644 --- a/sim/avr/config.in +++ b/sim/avr/config.in @@ -139,6 +139,9 @@ /* Define to 1 if you have the header file. */ #undef HAVE_WINDOWS_H +/* Define to 1 if the system has the type `__int128'. */ +#undef HAVE___INT128 + /* Define to 1 if you have the `__setfpucw' function. */ #undef HAVE___SETFPUCW diff --git a/sim/avr/configure b/sim/avr/configure index 1f2c9cdc98f..4019336ea2d 100755 --- a/sim/avr/configure +++ b/sim/avr/configure @@ -7491,6 +7491,16 @@ cat >>confdefs.h <<_ACEOF _ACEOF +fi + +ac_fn_c_check_type "$LINENO" "__int128" "ac_cv_type___int128" "$ac_includes_default" +if test "x$ac_cv_type___int128" = xyes; then : + +cat >>confdefs.h <<_ACEOF +#define HAVE___INT128 1 +_ACEOF + + fi ac_fn_c_check_type "$LINENO" "socklen_t" "ac_cv_type_socklen_t" "#include @@ -11197,7 +11207,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 11200 "configure" +#line 11210 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -11303,7 +11313,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 11306 "configure" +#line 11316 "configure" #include "confdefs.h" #if HAVE_DLFCN_H diff --git a/sim/bfin/ChangeLog b/sim/bfin/ChangeLog index 3dff4ed2976..84e1dd34a55 100644 --- a/sim/bfin/ChangeLog +++ b/sim/bfin/ChangeLog @@ -1,3 +1,7 @@ +2021-05-16 Mike Frysinger + + * config.in, configure: Regenerate. + 2021-05-14 Mike Frysinger * interp.c: Update include path. diff --git a/sim/bfin/config.in b/sim/bfin/config.in index 851b3f8d620..a752de468a3 100644 --- a/sim/bfin/config.in +++ b/sim/bfin/config.in @@ -178,6 +178,9 @@ /* Define to 1 if you have the header file. */ #undef HAVE_WINDOWS_H +/* Define to 1 if the system has the type `__int128'. */ +#undef HAVE___INT128 + /* Define to 1 if you have the `__setfpucw' function. */ #undef HAVE___SETFPUCW diff --git a/sim/bfin/configure b/sim/bfin/configure index a930031bcf8..fd008bf1f2d 100755 --- a/sim/bfin/configure +++ b/sim/bfin/configure @@ -7524,6 +7524,16 @@ cat >>confdefs.h <<_ACEOF _ACEOF +fi + +ac_fn_c_check_type "$LINENO" "__int128" "ac_cv_type___int128" "$ac_includes_default" +if test "x$ac_cv_type___int128" = xyes; then : + +cat >>confdefs.h <<_ACEOF +#define HAVE___INT128 1 +_ACEOF + + fi ac_fn_c_check_type "$LINENO" "socklen_t" "ac_cv_type_socklen_t" "#include @@ -11230,7 +11240,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 11233 "configure" +#line 11243 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -11336,7 +11346,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 11339 "configure" +#line 11349 "configure" #include "confdefs.h" #if HAVE_DLFCN_H diff --git a/sim/bpf/ChangeLog b/sim/bpf/ChangeLog index 359cabb2438..689c76bd45b 100644 --- a/sim/bpf/ChangeLog +++ b/sim/bpf/ChangeLog @@ -1,3 +1,7 @@ +2021-05-16 Mike Frysinger + + * config.in, configure: Regenerate. + 2021-05-04 Mike Frysinger * configure: Regenerate. diff --git a/sim/bpf/config.in b/sim/bpf/config.in index c694fde2126..a7c8785901b 100644 --- a/sim/bpf/config.in +++ b/sim/bpf/config.in @@ -139,6 +139,9 @@ /* Define to 1 if you have the header file. */ #undef HAVE_WINDOWS_H +/* Define to 1 if the system has the type `__int128'. */ +#undef HAVE___INT128 + /* Define to 1 if you have the `__setfpucw' function. */ #undef HAVE___SETFPUCW diff --git a/sim/bpf/configure b/sim/bpf/configure index 2d30e7c1989..14eeef8485c 100755 --- a/sim/bpf/configure +++ b/sim/bpf/configure @@ -7504,6 +7504,16 @@ cat >>confdefs.h <<_ACEOF _ACEOF +fi + +ac_fn_c_check_type "$LINENO" "__int128" "ac_cv_type___int128" "$ac_includes_default" +if test "x$ac_cv_type___int128" = xyes; then : + +cat >>confdefs.h <<_ACEOF +#define HAVE___INT128 1 +_ACEOF + + fi ac_fn_c_check_type "$LINENO" "socklen_t" "ac_cv_type_socklen_t" "#include @@ -11210,7 +11220,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 11213 "configure" +#line 11223 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -11316,7 +11326,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 11319 "configure" +#line 11329 "configure" #include "confdefs.h" #if HAVE_DLFCN_H diff --git a/sim/cr16/ChangeLog b/sim/cr16/ChangeLog index ae43ba170e5..d311b2db6f3 100644 --- a/sim/cr16/ChangeLog +++ b/sim/cr16/ChangeLog @@ -1,3 +1,7 @@ +2021-05-16 Mike Frysinger + + * config.in, configure: Regenerate. + 2021-05-14 Mike Frysinger * Makefile.in: Update path. diff --git a/sim/cr16/config.in b/sim/cr16/config.in index c694fde2126..a7c8785901b 100644 --- a/sim/cr16/config.in +++ b/sim/cr16/config.in @@ -139,6 +139,9 @@ /* Define to 1 if you have the header file. */ #undef HAVE_WINDOWS_H +/* Define to 1 if the system has the type `__int128'. */ +#undef HAVE___INT128 + /* Define to 1 if you have the `__setfpucw' function. */ #undef HAVE___SETFPUCW diff --git a/sim/cr16/configure b/sim/cr16/configure index d862891c0fd..103e5cd4f4b 100755 --- a/sim/cr16/configure +++ b/sim/cr16/configure @@ -7491,6 +7491,16 @@ cat >>confdefs.h <<_ACEOF _ACEOF +fi + +ac_fn_c_check_type "$LINENO" "__int128" "ac_cv_type___int128" "$ac_includes_default" +if test "x$ac_cv_type___int128" = xyes; then : + +cat >>confdefs.h <<_ACEOF +#define HAVE___INT128 1 +_ACEOF + + fi ac_fn_c_check_type "$LINENO" "socklen_t" "ac_cv_type_socklen_t" "#include @@ -11197,7 +11207,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 11200 "configure" +#line 11210 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -11303,7 +11313,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 11306 "configure" +#line 11316 "configure" #include "confdefs.h" #if HAVE_DLFCN_H diff --git a/sim/cris/ChangeLog b/sim/cris/ChangeLog index 7dfc8873275..01645b57f93 100644 --- a/sim/cris/ChangeLog +++ b/sim/cris/ChangeLog @@ -1,3 +1,7 @@ +2021-05-16 Mike Frysinger + + * config.in, configure: Regenerate. + 2021-05-15 Mike Frysinger * sim-if.c: Include environ.h. diff --git a/sim/cris/config.in b/sim/cris/config.in index 75144252f1e..1a12e071d7f 100644 --- a/sim/cris/config.in +++ b/sim/cris/config.in @@ -148,6 +148,9 @@ /* Define to 1 if you have the header file. */ #undef HAVE_WINDOWS_H +/* Define to 1 if the system has the type `__int128'. */ +#undef HAVE___INT128 + /* Define to 1 if you have the `__setfpucw' function. */ #undef HAVE___SETFPUCW diff --git a/sim/cris/configure b/sim/cris/configure index d791a3da877..1aaf58dc9d6 100755 --- a/sim/cris/configure +++ b/sim/cris/configure @@ -7505,6 +7505,16 @@ cat >>confdefs.h <<_ACEOF _ACEOF +fi + +ac_fn_c_check_type "$LINENO" "__int128" "ac_cv_type___int128" "$ac_includes_default" +if test "x$ac_cv_type___int128" = xyes; then : + +cat >>confdefs.h <<_ACEOF +#define HAVE___INT128 1 +_ACEOF + + fi ac_fn_c_check_type "$LINENO" "socklen_t" "ac_cv_type_socklen_t" "#include @@ -11211,7 +11221,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 11214 "configure" +#line 11224 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -11317,7 +11327,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 11320 "configure" +#line 11330 "configure" #include "confdefs.h" #if HAVE_DLFCN_H diff --git a/sim/d10v/ChangeLog b/sim/d10v/ChangeLog index 0a5c7a76202..622a9111ec0 100644 --- a/sim/d10v/ChangeLog +++ b/sim/d10v/ChangeLog @@ -1,3 +1,7 @@ +2021-05-16 Mike Frysinger + + * config.in, configure: Regenerate. + 2021-05-14 Mike Frysinger * Makefile.in: Update path. diff --git a/sim/d10v/config.in b/sim/d10v/config.in index c694fde2126..a7c8785901b 100644 --- a/sim/d10v/config.in +++ b/sim/d10v/config.in @@ -139,6 +139,9 @@ /* Define to 1 if you have the header file. */ #undef HAVE_WINDOWS_H +/* Define to 1 if the system has the type `__int128'. */ +#undef HAVE___INT128 + /* Define to 1 if you have the `__setfpucw' function. */ #undef HAVE___SETFPUCW diff --git a/sim/d10v/configure b/sim/d10v/configure index 2d1e87ffead..9de1922ec86 100755 --- a/sim/d10v/configure +++ b/sim/d10v/configure @@ -7491,6 +7491,16 @@ cat >>confdefs.h <<_ACEOF _ACEOF +fi + +ac_fn_c_check_type "$LINENO" "__int128" "ac_cv_type___int128" "$ac_includes_default" +if test "x$ac_cv_type___int128" = xyes; then : + +cat >>confdefs.h <<_ACEOF +#define HAVE___INT128 1 +_ACEOF + + fi ac_fn_c_check_type "$LINENO" "socklen_t" "ac_cv_type_socklen_t" "#include @@ -11197,7 +11207,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 11200 "configure" +#line 11210 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -11303,7 +11313,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 11306 "configure" +#line 11316 "configure" #include "confdefs.h" #if HAVE_DLFCN_H diff --git a/sim/erc32/ChangeLog b/sim/erc32/ChangeLog index 950384a11cd..40dd9310793 100644 --- a/sim/erc32/ChangeLog +++ b/sim/erc32/ChangeLog @@ -1,3 +1,7 @@ +2021-05-16 Mike Frysinger + + * config.in, configure: Regenerate. + 2021-05-14 Mike Frysinger * interf.c: Update include path. diff --git a/sim/erc32/config.in b/sim/erc32/config.in index c694fde2126..a7c8785901b 100644 --- a/sim/erc32/config.in +++ b/sim/erc32/config.in @@ -139,6 +139,9 @@ /* Define to 1 if you have the header file. */ #undef HAVE_WINDOWS_H +/* Define to 1 if the system has the type `__int128'. */ +#undef HAVE___INT128 + /* Define to 1 if you have the `__setfpucw' function. */ #undef HAVE___SETFPUCW diff --git a/sim/erc32/configure b/sim/erc32/configure index 0d2327f5b86..0f3634d4455 100755 --- a/sim/erc32/configure +++ b/sim/erc32/configure @@ -7487,6 +7487,16 @@ cat >>confdefs.h <<_ACEOF _ACEOF +fi + +ac_fn_c_check_type "$LINENO" "__int128" "ac_cv_type___int128" "$ac_includes_default" +if test "x$ac_cv_type___int128" = xyes; then : + +cat >>confdefs.h <<_ACEOF +#define HAVE___INT128 1 +_ACEOF + + fi ac_fn_c_check_type "$LINENO" "socklen_t" "ac_cv_type_socklen_t" "#include @@ -11193,7 +11203,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 11196 "configure" +#line 11206 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -11299,7 +11309,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 11302 "configure" +#line 11312 "configure" #include "confdefs.h" #if HAVE_DLFCN_H diff --git a/sim/example-synacor/ChangeLog b/sim/example-synacor/ChangeLog index d491f2add17..0f91ff2727f 100644 --- a/sim/example-synacor/ChangeLog +++ b/sim/example-synacor/ChangeLog @@ -1,3 +1,7 @@ +2021-05-16 Mike Frysinger + + * config.in, configure: Regenerate. + 2021-05-14 Mike Frysinger * interp.c: Update include path. diff --git a/sim/example-synacor/config.in b/sim/example-synacor/config.in index c694fde2126..a7c8785901b 100644 --- a/sim/example-synacor/config.in +++ b/sim/example-synacor/config.in @@ -139,6 +139,9 @@ /* Define to 1 if you have the header file. */ #undef HAVE_WINDOWS_H +/* Define to 1 if the system has the type `__int128'. */ +#undef HAVE___INT128 + /* Define to 1 if you have the `__setfpucw' function. */ #undef HAVE___SETFPUCW diff --git a/sim/example-synacor/configure b/sim/example-synacor/configure index e2f34d1c77d..71f5f599e9a 100755 --- a/sim/example-synacor/configure +++ b/sim/example-synacor/configure @@ -7491,6 +7491,16 @@ cat >>confdefs.h <<_ACEOF _ACEOF +fi + +ac_fn_c_check_type "$LINENO" "__int128" "ac_cv_type___int128" "$ac_includes_default" +if test "x$ac_cv_type___int128" = xyes; then : + +cat >>confdefs.h <<_ACEOF +#define HAVE___INT128 1 +_ACEOF + + fi ac_fn_c_check_type "$LINENO" "socklen_t" "ac_cv_type_socklen_t" "#include @@ -11197,7 +11207,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 11200 "configure" +#line 11210 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -11303,7 +11313,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 11306 "configure" +#line 11316 "configure" #include "confdefs.h" #if HAVE_DLFCN_H diff --git a/sim/frv/ChangeLog b/sim/frv/ChangeLog index 0c39d1a3379..6b93dd8c68f 100644 --- a/sim/frv/ChangeLog +++ b/sim/frv/ChangeLog @@ -1,3 +1,7 @@ +2021-05-16 Mike Frysinger + + * config.in, configure: Regenerate. + 2021-05-04 Mike Frysinger * configure: Regenerate. diff --git a/sim/frv/config.in b/sim/frv/config.in index c694fde2126..a7c8785901b 100644 --- a/sim/frv/config.in +++ b/sim/frv/config.in @@ -139,6 +139,9 @@ /* Define to 1 if you have the header file. */ #undef HAVE_WINDOWS_H +/* Define to 1 if the system has the type `__int128'. */ +#undef HAVE___INT128 + /* Define to 1 if you have the `__setfpucw' function. */ #undef HAVE___SETFPUCW diff --git a/sim/frv/configure b/sim/frv/configure index 73f30660d54..00455cf8362 100755 --- a/sim/frv/configure +++ b/sim/frv/configure @@ -7505,6 +7505,16 @@ cat >>confdefs.h <<_ACEOF _ACEOF +fi + +ac_fn_c_check_type "$LINENO" "__int128" "ac_cv_type___int128" "$ac_includes_default" +if test "x$ac_cv_type___int128" = xyes; then : + +cat >>confdefs.h <<_ACEOF +#define HAVE___INT128 1 +_ACEOF + + fi ac_fn_c_check_type "$LINENO" "socklen_t" "ac_cv_type_socklen_t" "#include @@ -11211,7 +11221,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 11214 "configure" +#line 11224 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -11317,7 +11327,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 11320 "configure" +#line 11330 "configure" #include "confdefs.h" #if HAVE_DLFCN_H diff --git a/sim/ft32/ChangeLog b/sim/ft32/ChangeLog index 185d16f3db0..08a5b9bb339 100644 --- a/sim/ft32/ChangeLog +++ b/sim/ft32/ChangeLog @@ -1,3 +1,7 @@ +2021-05-16 Mike Frysinger + + * config.in, configure: Regenerate. + 2021-05-14 Mike Frysinger * interp.c: Update include path. diff --git a/sim/ft32/config.in b/sim/ft32/config.in index c694fde2126..a7c8785901b 100644 --- a/sim/ft32/config.in +++ b/sim/ft32/config.in @@ -139,6 +139,9 @@ /* Define to 1 if you have the header file. */ #undef HAVE_WINDOWS_H +/* Define to 1 if the system has the type `__int128'. */ +#undef HAVE___INT128 + /* Define to 1 if you have the `__setfpucw' function. */ #undef HAVE___SETFPUCW diff --git a/sim/ft32/configure b/sim/ft32/configure index abb6f31958b..76967b9ce5c 100755 --- a/sim/ft32/configure +++ b/sim/ft32/configure @@ -7491,6 +7491,16 @@ cat >>confdefs.h <<_ACEOF _ACEOF +fi + +ac_fn_c_check_type "$LINENO" "__int128" "ac_cv_type___int128" "$ac_includes_default" +if test "x$ac_cv_type___int128" = xyes; then : + +cat >>confdefs.h <<_ACEOF +#define HAVE___INT128 1 +_ACEOF + + fi ac_fn_c_check_type "$LINENO" "socklen_t" "ac_cv_type_socklen_t" "#include @@ -11197,7 +11207,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 11200 "configure" +#line 11210 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -11303,7 +11313,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 11306 "configure" +#line 11316 "configure" #include "confdefs.h" #if HAVE_DLFCN_H diff --git a/sim/h8300/ChangeLog b/sim/h8300/ChangeLog index 578836eb2ee..b53309a0279 100644 --- a/sim/h8300/ChangeLog +++ b/sim/h8300/ChangeLog @@ -1,3 +1,7 @@ +2021-05-16 Mike Frysinger + + * config.in, configure: Regenerate. + 2021-05-08 Mike Frysinger * compile.c (h8_set_macS): Disable with #if 0. diff --git a/sim/h8300/config.in b/sim/h8300/config.in index 441cd1f2997..abbedae0696 100644 --- a/sim/h8300/config.in +++ b/sim/h8300/config.in @@ -142,6 +142,9 @@ /* Define to 1 if you have the header file. */ #undef HAVE_WINDOWS_H +/* Define to 1 if the system has the type `__int128'. */ +#undef HAVE___INT128 + /* Define to 1 if you have the `__setfpucw' function. */ #undef HAVE___SETFPUCW diff --git a/sim/h8300/configure b/sim/h8300/configure index 4849a066e53..61cad81cae8 100755 --- a/sim/h8300/configure +++ b/sim/h8300/configure @@ -7492,6 +7492,16 @@ cat >>confdefs.h <<_ACEOF _ACEOF +fi + +ac_fn_c_check_type "$LINENO" "__int128" "ac_cv_type___int128" "$ac_includes_default" +if test "x$ac_cv_type___int128" = xyes; then : + +cat >>confdefs.h <<_ACEOF +#define HAVE___INT128 1 +_ACEOF + + fi ac_fn_c_check_type "$LINENO" "socklen_t" "ac_cv_type_socklen_t" "#include @@ -11198,7 +11208,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 11201 "configure" +#line 11211 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -11304,7 +11314,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 11307 "configure" +#line 11317 "configure" #include "confdefs.h" #if HAVE_DLFCN_H diff --git a/sim/iq2000/ChangeLog b/sim/iq2000/ChangeLog index 5dbfb7a69be..1f90b573cf1 100644 --- a/sim/iq2000/ChangeLog +++ b/sim/iq2000/ChangeLog @@ -1,3 +1,7 @@ +2021-05-16 Mike Frysinger + + * config.in, configure: Regenerate. + 2021-05-04 Tom Tromey * mloop.in: Include . diff --git a/sim/iq2000/config.in b/sim/iq2000/config.in index c694fde2126..a7c8785901b 100644 --- a/sim/iq2000/config.in +++ b/sim/iq2000/config.in @@ -139,6 +139,9 @@ /* Define to 1 if you have the header file. */ #undef HAVE_WINDOWS_H +/* Define to 1 if the system has the type `__int128'. */ +#undef HAVE___INT128 + /* Define to 1 if you have the `__setfpucw' function. */ #undef HAVE___SETFPUCW diff --git a/sim/iq2000/configure b/sim/iq2000/configure index 6dd888c674d..5d3ed4f4a5d 100755 --- a/sim/iq2000/configure +++ b/sim/iq2000/configure @@ -7502,6 +7502,16 @@ cat >>confdefs.h <<_ACEOF _ACEOF +fi + +ac_fn_c_check_type "$LINENO" "__int128" "ac_cv_type___int128" "$ac_includes_default" +if test "x$ac_cv_type___int128" = xyes; then : + +cat >>confdefs.h <<_ACEOF +#define HAVE___INT128 1 +_ACEOF + + fi ac_fn_c_check_type "$LINENO" "socklen_t" "ac_cv_type_socklen_t" "#include @@ -11208,7 +11218,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 11211 "configure" +#line 11221 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -11314,7 +11324,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 11317 "configure" +#line 11327 "configure" #include "confdefs.h" #if HAVE_DLFCN_H diff --git a/sim/lm32/ChangeLog b/sim/lm32/ChangeLog index f169b1b2405..90613411a57 100644 --- a/sim/lm32/ChangeLog +++ b/sim/lm32/ChangeLog @@ -1,3 +1,7 @@ +2021-05-16 Mike Frysinger + + * config.in, configure: Regenerate. + 2021-05-04 Tom Tromey * mloop.in: Include . diff --git a/sim/lm32/config.in b/sim/lm32/config.in index c694fde2126..a7c8785901b 100644 --- a/sim/lm32/config.in +++ b/sim/lm32/config.in @@ -139,6 +139,9 @@ /* Define to 1 if you have the header file. */ #undef HAVE_WINDOWS_H +/* Define to 1 if the system has the type `__int128'. */ +#undef HAVE___INT128 + /* Define to 1 if you have the `__setfpucw' function. */ #undef HAVE___SETFPUCW diff --git a/sim/lm32/configure b/sim/lm32/configure index 1924db70357..387b7d2c582 100755 --- a/sim/lm32/configure +++ b/sim/lm32/configure @@ -7502,6 +7502,16 @@ cat >>confdefs.h <<_ACEOF _ACEOF +fi + +ac_fn_c_check_type "$LINENO" "__int128" "ac_cv_type___int128" "$ac_includes_default" +if test "x$ac_cv_type___int128" = xyes; then : + +cat >>confdefs.h <<_ACEOF +#define HAVE___INT128 1 +_ACEOF + + fi ac_fn_c_check_type "$LINENO" "socklen_t" "ac_cv_type_socklen_t" "#include @@ -11208,7 +11218,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 11211 "configure" +#line 11221 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -11314,7 +11324,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 11317 "configure" +#line 11327 "configure" #include "confdefs.h" #if HAVE_DLFCN_H diff --git a/sim/m32c/ChangeLog b/sim/m32c/ChangeLog index 099d70d1b13..af71d21bbfd 100644 --- a/sim/m32c/ChangeLog +++ b/sim/m32c/ChangeLog @@ -1,3 +1,7 @@ +2021-05-16 Mike Frysinger + + * config.in, configure: Regenerate. + 2021-05-14 Mike Frysinger * gdb-if.c: Update include path. diff --git a/sim/m32c/config.in b/sim/m32c/config.in index 33cda709afd..2bd2bea880c 100644 --- a/sim/m32c/config.in +++ b/sim/m32c/config.in @@ -154,6 +154,9 @@ /* Define to 1 if you have the header file. */ #undef HAVE_WINDOWS_H +/* Define to 1 if the system has the type `__int128'. */ +#undef HAVE___INT128 + /* Define to 1 if you have the `__setfpucw' function. */ #undef HAVE___SETFPUCW diff --git a/sim/m32c/configure b/sim/m32c/configure index 7c283c21ca6..7135728d7f6 100755 --- a/sim/m32c/configure +++ b/sim/m32c/configure @@ -7489,6 +7489,16 @@ cat >>confdefs.h <<_ACEOF _ACEOF +fi + +ac_fn_c_check_type "$LINENO" "__int128" "ac_cv_type___int128" "$ac_includes_default" +if test "x$ac_cv_type___int128" = xyes; then : + +cat >>confdefs.h <<_ACEOF +#define HAVE___INT128 1 +_ACEOF + + fi ac_fn_c_check_type "$LINENO" "socklen_t" "ac_cv_type_socklen_t" "#include @@ -11195,7 +11205,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 11198 "configure" +#line 11208 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -11301,7 +11311,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 11304 "configure" +#line 11314 "configure" #include "confdefs.h" #if HAVE_DLFCN_H diff --git a/sim/m32r/ChangeLog b/sim/m32r/ChangeLog index 9737efb2fb6..04031e7f90c 100644 --- a/sim/m32r/ChangeLog +++ b/sim/m32r/ChangeLog @@ -1,3 +1,7 @@ +2021-05-16 Mike Frysinger + + * config.in, configure: Regenerate. + 2021-05-04 Tom Tromey * mloop.in: Include . diff --git a/sim/m32r/config.in b/sim/m32r/config.in index c694fde2126..a7c8785901b 100644 --- a/sim/m32r/config.in +++ b/sim/m32r/config.in @@ -139,6 +139,9 @@ /* Define to 1 if you have the header file. */ #undef HAVE_WINDOWS_H +/* Define to 1 if the system has the type `__int128'. */ +#undef HAVE___INT128 + /* Define to 1 if you have the `__setfpucw' function. */ #undef HAVE___SETFPUCW diff --git a/sim/m32r/configure b/sim/m32r/configure index ded50a2f953..9ca077df51f 100755 --- a/sim/m32r/configure +++ b/sim/m32r/configure @@ -7504,6 +7504,16 @@ cat >>confdefs.h <<_ACEOF _ACEOF +fi + +ac_fn_c_check_type "$LINENO" "__int128" "ac_cv_type___int128" "$ac_includes_default" +if test "x$ac_cv_type___int128" = xyes; then : + +cat >>confdefs.h <<_ACEOF +#define HAVE___INT128 1 +_ACEOF + + fi ac_fn_c_check_type "$LINENO" "socklen_t" "ac_cv_type_socklen_t" "#include @@ -11210,7 +11220,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 11213 "configure" +#line 11223 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -11316,7 +11326,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 11319 "configure" +#line 11329 "configure" #include "confdefs.h" #if HAVE_DLFCN_H diff --git a/sim/m4/sim_ac_common.m4 b/sim/m4/sim_ac_common.m4 index 35fcbfc4199..aa10a650272 100644 --- a/sim/m4/sim_ac_common.m4 +++ b/sim/m4/sim_ac_common.m4 @@ -75,6 +75,7 @@ AC_CHECK_MEMBERS([[struct stat.st_dev], [struct stat.st_ino], #ifdef HAVE_SYS_STAT_H #include #endif]]) +AC_CHECK_TYPES([__int128]) AC_CHECK_TYPES(socklen_t, [], [], [#include #include diff --git a/sim/m68hc11/ChangeLog b/sim/m68hc11/ChangeLog index 6f2bef52e98..410660c55c4 100644 --- a/sim/m68hc11/ChangeLog +++ b/sim/m68hc11/ChangeLog @@ -1,3 +1,7 @@ +2021-05-16 Mike Frysinger + + * config.in, configure: Regenerate. + 2021-05-14 Mike Frysinger * sim-main.h: Update include path. diff --git a/sim/m68hc11/config.in b/sim/m68hc11/config.in index c694fde2126..a7c8785901b 100644 --- a/sim/m68hc11/config.in +++ b/sim/m68hc11/config.in @@ -139,6 +139,9 @@ /* Define to 1 if you have the header file. */ #undef HAVE_WINDOWS_H +/* Define to 1 if the system has the type `__int128'. */ +#undef HAVE___INT128 + /* Define to 1 if you have the `__setfpucw' function. */ #undef HAVE___SETFPUCW diff --git a/sim/m68hc11/configure b/sim/m68hc11/configure index 8fb4bbd0473..a282abb3ab0 100755 --- a/sim/m68hc11/configure +++ b/sim/m68hc11/configure @@ -7491,6 +7491,16 @@ cat >>confdefs.h <<_ACEOF _ACEOF +fi + +ac_fn_c_check_type "$LINENO" "__int128" "ac_cv_type___int128" "$ac_includes_default" +if test "x$ac_cv_type___int128" = xyes; then : + +cat >>confdefs.h <<_ACEOF +#define HAVE___INT128 1 +_ACEOF + + fi ac_fn_c_check_type "$LINENO" "socklen_t" "ac_cv_type_socklen_t" "#include @@ -11197,7 +11207,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 11200 "configure" +#line 11210 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -11303,7 +11313,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 11306 "configure" +#line 11316 "configure" #include "confdefs.h" #if HAVE_DLFCN_H diff --git a/sim/mcore/ChangeLog b/sim/mcore/ChangeLog index d165f3c5182..3a14634057d 100644 --- a/sim/mcore/ChangeLog +++ b/sim/mcore/ChangeLog @@ -1,3 +1,7 @@ +2021-05-16 Mike Frysinger + + * config.in, configure: Regenerate. + 2021-05-14 Mike Frysinger * interp.c: Update include path. diff --git a/sim/mcore/config.in b/sim/mcore/config.in index c694fde2126..a7c8785901b 100644 --- a/sim/mcore/config.in +++ b/sim/mcore/config.in @@ -139,6 +139,9 @@ /* Define to 1 if you have the header file. */ #undef HAVE_WINDOWS_H +/* Define to 1 if the system has the type `__int128'. */ +#undef HAVE___INT128 + /* Define to 1 if you have the `__setfpucw' function. */ #undef HAVE___SETFPUCW diff --git a/sim/mcore/configure b/sim/mcore/configure index 2d1e87ffead..9de1922ec86 100755 --- a/sim/mcore/configure +++ b/sim/mcore/configure @@ -7491,6 +7491,16 @@ cat >>confdefs.h <<_ACEOF _ACEOF +fi + +ac_fn_c_check_type "$LINENO" "__int128" "ac_cv_type___int128" "$ac_includes_default" +if test "x$ac_cv_type___int128" = xyes; then : + +cat >>confdefs.h <<_ACEOF +#define HAVE___INT128 1 +_ACEOF + + fi ac_fn_c_check_type "$LINENO" "socklen_t" "ac_cv_type_socklen_t" "#include @@ -11197,7 +11207,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 11200 "configure" +#line 11210 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -11303,7 +11313,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 11306 "configure" +#line 11316 "configure" #include "confdefs.h" #if HAVE_DLFCN_H diff --git a/sim/microblaze/ChangeLog b/sim/microblaze/ChangeLog index efedaa53ebb..dce172193b8 100644 --- a/sim/microblaze/ChangeLog +++ b/sim/microblaze/ChangeLog @@ -1,3 +1,7 @@ +2021-05-16 Mike Frysinger + + * config.in, configure: Regenerate. + 2021-05-14 Mike Frysinger * interp.c: Update include path. diff --git a/sim/microblaze/config.in b/sim/microblaze/config.in index c694fde2126..a7c8785901b 100644 --- a/sim/microblaze/config.in +++ b/sim/microblaze/config.in @@ -139,6 +139,9 @@ /* Define to 1 if you have the header file. */ #undef HAVE_WINDOWS_H +/* Define to 1 if the system has the type `__int128'. */ +#undef HAVE___INT128 + /* Define to 1 if you have the `__setfpucw' function. */ #undef HAVE___SETFPUCW diff --git a/sim/microblaze/configure b/sim/microblaze/configure index 1c2b06b60de..abacc83a29a 100755 --- a/sim/microblaze/configure +++ b/sim/microblaze/configure @@ -7491,6 +7491,16 @@ cat >>confdefs.h <<_ACEOF _ACEOF +fi + +ac_fn_c_check_type "$LINENO" "__int128" "ac_cv_type___int128" "$ac_includes_default" +if test "x$ac_cv_type___int128" = xyes; then : + +cat >>confdefs.h <<_ACEOF +#define HAVE___INT128 1 +_ACEOF + + fi ac_fn_c_check_type "$LINENO" "socklen_t" "ac_cv_type_socklen_t" "#include @@ -11197,7 +11207,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 11200 "configure" +#line 11210 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -11303,7 +11313,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 11306 "configure" +#line 11316 "configure" #include "confdefs.h" #if HAVE_DLFCN_H diff --git a/sim/mips/ChangeLog b/sim/mips/ChangeLog index 963e85ae092..76134b78619 100644 --- a/sim/mips/ChangeLog +++ b/sim/mips/ChangeLog @@ -1,3 +1,7 @@ +2021-05-16 Mike Frysinger + + * config.in, configure: Regenerate. + 2021-05-14 Mike Frysinger * interp.c: Update include path. diff --git a/sim/mips/config.in b/sim/mips/config.in index b8e86160c77..be89cbd3efa 100644 --- a/sim/mips/config.in +++ b/sim/mips/config.in @@ -148,6 +148,9 @@ /* Define to 1 if you have the header file. */ #undef HAVE_WINDOWS_H +/* Define to 1 if the system has the type `__int128'. */ +#undef HAVE___INT128 + /* Define to 1 if you have the `__setfpucw' function. */ #undef HAVE___SETFPUCW diff --git a/sim/mips/configure b/sim/mips/configure index d6902677a65..1560b0a48ac 100755 --- a/sim/mips/configure +++ b/sim/mips/configure @@ -7519,6 +7519,16 @@ cat >>confdefs.h <<_ACEOF _ACEOF +fi + +ac_fn_c_check_type "$LINENO" "__int128" "ac_cv_type___int128" "$ac_includes_default" +if test "x$ac_cv_type___int128" = xyes; then : + +cat >>confdefs.h <<_ACEOF +#define HAVE___INT128 1 +_ACEOF + + fi ac_fn_c_check_type "$LINENO" "socklen_t" "ac_cv_type_socklen_t" "#include @@ -11225,7 +11235,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 11228 "configure" +#line 11238 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -11331,7 +11341,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 11334 "configure" +#line 11344 "configure" #include "confdefs.h" #if HAVE_DLFCN_H diff --git a/sim/mn10300/ChangeLog b/sim/mn10300/ChangeLog index fce17ed96e1..42eed824296 100644 --- a/sim/mn10300/ChangeLog +++ b/sim/mn10300/ChangeLog @@ -1,3 +1,7 @@ +2021-05-16 Mike Frysinger + + * config.in, configure: Regenerate. + 2021-05-14 Mike Frysinger * mn10300_sim.h: Update include path. diff --git a/sim/mn10300/config.in b/sim/mn10300/config.in index c694fde2126..a7c8785901b 100644 --- a/sim/mn10300/config.in +++ b/sim/mn10300/config.in @@ -139,6 +139,9 @@ /* Define to 1 if you have the header file. */ #undef HAVE_WINDOWS_H +/* Define to 1 if the system has the type `__int128'. */ +#undef HAVE___INT128 + /* Define to 1 if you have the `__setfpucw' function. */ #undef HAVE___SETFPUCW diff --git a/sim/mn10300/configure b/sim/mn10300/configure index 7353ac26962..e6ffbe697a3 100755 --- a/sim/mn10300/configure +++ b/sim/mn10300/configure @@ -7497,6 +7497,16 @@ cat >>confdefs.h <<_ACEOF _ACEOF +fi + +ac_fn_c_check_type "$LINENO" "__int128" "ac_cv_type___int128" "$ac_includes_default" +if test "x$ac_cv_type___int128" = xyes; then : + +cat >>confdefs.h <<_ACEOF +#define HAVE___INT128 1 +_ACEOF + + fi ac_fn_c_check_type "$LINENO" "socklen_t" "ac_cv_type_socklen_t" "#include @@ -11203,7 +11213,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 11206 "configure" +#line 11216 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -11309,7 +11319,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 11312 "configure" +#line 11322 "configure" #include "confdefs.h" #if HAVE_DLFCN_H diff --git a/sim/moxie/ChangeLog b/sim/moxie/ChangeLog index 20d2ecfc60f..be18085cda6 100644 --- a/sim/moxie/ChangeLog +++ b/sim/moxie/ChangeLog @@ -1,3 +1,7 @@ +2021-05-16 Mike Frysinger + + * config.in, configure: Regenerate. + 2021-05-14 Mike Frysinger * interp.c: Update include path. diff --git a/sim/moxie/config.in b/sim/moxie/config.in index c694fde2126..a7c8785901b 100644 --- a/sim/moxie/config.in +++ b/sim/moxie/config.in @@ -139,6 +139,9 @@ /* Define to 1 if you have the header file. */ #undef HAVE_WINDOWS_H +/* Define to 1 if the system has the type `__int128'. */ +#undef HAVE___INT128 + /* Define to 1 if you have the `__setfpucw' function. */ #undef HAVE___SETFPUCW diff --git a/sim/moxie/configure b/sim/moxie/configure index 66361824c46..a692e33d947 100755 --- a/sim/moxie/configure +++ b/sim/moxie/configure @@ -7492,6 +7492,16 @@ cat >>confdefs.h <<_ACEOF _ACEOF +fi + +ac_fn_c_check_type "$LINENO" "__int128" "ac_cv_type___int128" "$ac_includes_default" +if test "x$ac_cv_type___int128" = xyes; then : + +cat >>confdefs.h <<_ACEOF +#define HAVE___INT128 1 +_ACEOF + + fi ac_fn_c_check_type "$LINENO" "socklen_t" "ac_cv_type_socklen_t" "#include @@ -11198,7 +11208,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 11201 "configure" +#line 11211 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -11304,7 +11314,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 11307 "configure" +#line 11317 "configure" #include "confdefs.h" #if HAVE_DLFCN_H diff --git a/sim/msp430/ChangeLog b/sim/msp430/ChangeLog index acdca732d37..c6a4c653260 100644 --- a/sim/msp430/ChangeLog +++ b/sim/msp430/ChangeLog @@ -1,3 +1,7 @@ +2021-05-16 Mike Frysinger + + * config.in, configure: Regenerate. + 2021-05-04 Mike Frysinger * configure: Regenerate. diff --git a/sim/msp430/config.in b/sim/msp430/config.in index c694fde2126..a7c8785901b 100644 --- a/sim/msp430/config.in +++ b/sim/msp430/config.in @@ -139,6 +139,9 @@ /* Define to 1 if you have the header file. */ #undef HAVE_WINDOWS_H +/* Define to 1 if the system has the type `__int128'. */ +#undef HAVE___INT128 + /* Define to 1 if you have the `__setfpucw' function. */ #undef HAVE___SETFPUCW diff --git a/sim/msp430/configure b/sim/msp430/configure index 1f2c9cdc98f..4019336ea2d 100755 --- a/sim/msp430/configure +++ b/sim/msp430/configure @@ -7491,6 +7491,16 @@ cat >>confdefs.h <<_ACEOF _ACEOF +fi + +ac_fn_c_check_type "$LINENO" "__int128" "ac_cv_type___int128" "$ac_includes_default" +if test "x$ac_cv_type___int128" = xyes; then : + +cat >>confdefs.h <<_ACEOF +#define HAVE___INT128 1 +_ACEOF + + fi ac_fn_c_check_type "$LINENO" "socklen_t" "ac_cv_type_socklen_t" "#include @@ -11197,7 +11207,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 11200 "configure" +#line 11210 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -11303,7 +11313,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 11306 "configure" +#line 11316 "configure" #include "confdefs.h" #if HAVE_DLFCN_H diff --git a/sim/or1k/ChangeLog b/sim/or1k/ChangeLog index ece6160c43f..ddfa6181135 100644 --- a/sim/or1k/ChangeLog +++ b/sim/or1k/ChangeLog @@ -1,3 +1,7 @@ +2021-05-16 Mike Frysinger + + * config.in, configure: Regenerate. + 2021-05-12 Mike Frysinger * configure.ac: Delete SIM_AC_OPTION_ENVIRONMENT call. diff --git a/sim/or1k/config.in b/sim/or1k/config.in index c694fde2126..a7c8785901b 100644 --- a/sim/or1k/config.in +++ b/sim/or1k/config.in @@ -139,6 +139,9 @@ /* Define to 1 if you have the header file. */ #undef HAVE_WINDOWS_H +/* Define to 1 if the system has the type `__int128'. */ +#undef HAVE___INT128 + /* Define to 1 if you have the `__setfpucw' function. */ #undef HAVE___SETFPUCW diff --git a/sim/or1k/configure b/sim/or1k/configure index ef0a6c7b162..22f3674eda3 100755 --- a/sim/or1k/configure +++ b/sim/or1k/configure @@ -7504,6 +7504,16 @@ cat >>confdefs.h <<_ACEOF _ACEOF +fi + +ac_fn_c_check_type "$LINENO" "__int128" "ac_cv_type___int128" "$ac_includes_default" +if test "x$ac_cv_type___int128" = xyes; then : + +cat >>confdefs.h <<_ACEOF +#define HAVE___INT128 1 +_ACEOF + + fi ac_fn_c_check_type "$LINENO" "socklen_t" "ac_cv_type_socklen_t" "#include @@ -11210,7 +11220,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 11213 "configure" +#line 11223 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -11316,7 +11326,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 11319 "configure" +#line 11329 "configure" #include "confdefs.h" #if HAVE_DLFCN_H diff --git a/sim/pru/ChangeLog b/sim/pru/ChangeLog index 5849e1d5911..7b6aac181a3 100644 --- a/sim/pru/ChangeLog +++ b/sim/pru/ChangeLog @@ -1,3 +1,7 @@ +2021-05-16 Mike Frysinger + + * config.in, configure: Regenerate. + 2021-05-14 Mike Frysinger * interp.c: Update include path. diff --git a/sim/pru/config.in b/sim/pru/config.in index c694fde2126..a7c8785901b 100644 --- a/sim/pru/config.in +++ b/sim/pru/config.in @@ -139,6 +139,9 @@ /* Define to 1 if you have the header file. */ #undef HAVE_WINDOWS_H +/* Define to 1 if the system has the type `__int128'. */ +#undef HAVE___INT128 + /* Define to 1 if you have the `__setfpucw' function. */ #undef HAVE___SETFPUCW diff --git a/sim/pru/configure b/sim/pru/configure index 1f2c9cdc98f..4019336ea2d 100755 --- a/sim/pru/configure +++ b/sim/pru/configure @@ -7491,6 +7491,16 @@ cat >>confdefs.h <<_ACEOF _ACEOF +fi + +ac_fn_c_check_type "$LINENO" "__int128" "ac_cv_type___int128" "$ac_includes_default" +if test "x$ac_cv_type___int128" = xyes; then : + +cat >>confdefs.h <<_ACEOF +#define HAVE___INT128 1 +_ACEOF + + fi ac_fn_c_check_type "$LINENO" "socklen_t" "ac_cv_type_socklen_t" "#include @@ -11197,7 +11207,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 11200 "configure" +#line 11210 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -11303,7 +11313,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 11306 "configure" +#line 11316 "configure" #include "confdefs.h" #if HAVE_DLFCN_H diff --git a/sim/riscv/ChangeLog b/sim/riscv/ChangeLog index 557b722da25..9fe89f45277 100644 --- a/sim/riscv/ChangeLog +++ b/sim/riscv/ChangeLog @@ -1,3 +1,8 @@ +2021-05-15 Mike Frysinger + + * sim-main.c (mulhu): Change check to HAVE___INT128. + * config.in, configure: Regenerate. + 2021-05-12 Mike Frysinger * configure.ac: Delete SIM_AC_OPTION_ENVIRONMENT call. diff --git a/sim/riscv/config.in b/sim/riscv/config.in index c694fde2126..a7c8785901b 100644 --- a/sim/riscv/config.in +++ b/sim/riscv/config.in @@ -139,6 +139,9 @@ /* Define to 1 if you have the header file. */ #undef HAVE_WINDOWS_H +/* Define to 1 if the system has the type `__int128'. */ +#undef HAVE___INT128 + /* Define to 1 if you have the `__setfpucw' function. */ #undef HAVE___SETFPUCW diff --git a/sim/riscv/configure b/sim/riscv/configure index c41f800ce9f..a3587bb44f2 100755 --- a/sim/riscv/configure +++ b/sim/riscv/configure @@ -7496,6 +7496,16 @@ cat >>confdefs.h <<_ACEOF _ACEOF +fi + +ac_fn_c_check_type "$LINENO" "__int128" "ac_cv_type___int128" "$ac_includes_default" +if test "x$ac_cv_type___int128" = xyes; then : + +cat >>confdefs.h <<_ACEOF +#define HAVE___INT128 1 +_ACEOF + + fi ac_fn_c_check_type "$LINENO" "socklen_t" "ac_cv_type_socklen_t" "#include @@ -11202,7 +11212,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 11205 "configure" +#line 11215 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -11308,7 +11318,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 11311 "configure" +#line 11321 "configure" #include "confdefs.h" #if HAVE_DLFCN_H diff --git a/sim/riscv/sim-main.c b/sim/riscv/sim-main.c index 6a2904cced7..bb45ffee576 100644 --- a/sim/riscv/sim-main.c +++ b/sim/riscv/sim-main.c @@ -603,7 +603,7 @@ execute_i (SIM_CPU *cpu, unsigned_word iw, const struct riscv_opcode *op) static unsigned64 mulhu (unsigned64 a, unsigned64 b) { -#if defined(__GNUC__) && defined(__SIZEOF_INT128__) +#ifdef HAVE___INT128 return ((__int128)a * b) >> 64; #else uint64_t t; diff --git a/sim/rl78/ChangeLog b/sim/rl78/ChangeLog index 8ffa97ccfa4..9fc92e1e040 100644 --- a/sim/rl78/ChangeLog +++ b/sim/rl78/ChangeLog @@ -1,3 +1,7 @@ +2021-05-16 Mike Frysinger + + * config.in, configure: Regenerate. + 2021-05-14 Mike Frysinger * Makefile.in: Update path. diff --git a/sim/rl78/config.in b/sim/rl78/config.in index c694fde2126..a7c8785901b 100644 --- a/sim/rl78/config.in +++ b/sim/rl78/config.in @@ -139,6 +139,9 @@ /* Define to 1 if you have the header file. */ #undef HAVE_WINDOWS_H +/* Define to 1 if the system has the type `__int128'. */ +#undef HAVE___INT128 + /* Define to 1 if you have the `__setfpucw' function. */ #undef HAVE___SETFPUCW diff --git a/sim/rl78/configure b/sim/rl78/configure index 6e2076857dd..a061dc6b6ec 100755 --- a/sim/rl78/configure +++ b/sim/rl78/configure @@ -7484,6 +7484,16 @@ cat >>confdefs.h <<_ACEOF _ACEOF +fi + +ac_fn_c_check_type "$LINENO" "__int128" "ac_cv_type___int128" "$ac_includes_default" +if test "x$ac_cv_type___int128" = xyes; then : + +cat >>confdefs.h <<_ACEOF +#define HAVE___INT128 1 +_ACEOF + + fi ac_fn_c_check_type "$LINENO" "socklen_t" "ac_cv_type_socklen_t" "#include @@ -11190,7 +11200,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 11193 "configure" +#line 11203 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -11296,7 +11306,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 11299 "configure" +#line 11309 "configure" #include "confdefs.h" #if HAVE_DLFCN_H diff --git a/sim/rx/ChangeLog b/sim/rx/ChangeLog index cbb3b471d4d..db00b6e5a56 100644 --- a/sim/rx/ChangeLog +++ b/sim/rx/ChangeLog @@ -1,3 +1,7 @@ +2021-05-16 Mike Frysinger + + * config.in, configure: Regenerate. + 2021-05-14 Mike Frysinger * gdb-if.c: Update include path. diff --git a/sim/rx/config.in b/sim/rx/config.in index 58ef4f31dff..8f61c0f482a 100644 --- a/sim/rx/config.in +++ b/sim/rx/config.in @@ -145,6 +145,9 @@ /* Define to 1 if you have the header file. */ #undef HAVE_WINDOWS_H +/* Define to 1 if the system has the type `__int128'. */ +#undef HAVE___INT128 + /* Define to 1 if you have the `__setfpucw' function. */ #undef HAVE___SETFPUCW diff --git a/sim/rx/configure b/sim/rx/configure index 87bb4296606..d09bdb3ae9e 100755 --- a/sim/rx/configure +++ b/sim/rx/configure @@ -7489,6 +7489,16 @@ cat >>confdefs.h <<_ACEOF _ACEOF +fi + +ac_fn_c_check_type "$LINENO" "__int128" "ac_cv_type___int128" "$ac_includes_default" +if test "x$ac_cv_type___int128" = xyes; then : + +cat >>confdefs.h <<_ACEOF +#define HAVE___INT128 1 +_ACEOF + + fi ac_fn_c_check_type "$LINENO" "socklen_t" "ac_cv_type_socklen_t" "#include @@ -11195,7 +11205,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 11198 "configure" +#line 11208 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -11301,7 +11311,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 11304 "configure" +#line 11314 "configure" #include "confdefs.h" #if HAVE_DLFCN_H diff --git a/sim/sh/ChangeLog b/sim/sh/ChangeLog index be77f8c351e..4f687e8b52b 100644 --- a/sim/sh/ChangeLog +++ b/sim/sh/ChangeLog @@ -1,3 +1,7 @@ +2021-05-16 Mike Frysinger + + * config.in, configure: Regenerate. + 2021-05-14 Mike Frysinger * interp.c: Update include path. diff --git a/sim/sh/config.in b/sim/sh/config.in index c694fde2126..a7c8785901b 100644 --- a/sim/sh/config.in +++ b/sim/sh/config.in @@ -139,6 +139,9 @@ /* Define to 1 if you have the header file. */ #undef HAVE_WINDOWS_H +/* Define to 1 if the system has the type `__int128'. */ +#undef HAVE___INT128 + /* Define to 1 if you have the `__setfpucw' function. */ #undef HAVE___SETFPUCW diff --git a/sim/sh/configure b/sim/sh/configure index 94c4f26d65b..f2e93cac00b 100755 --- a/sim/sh/configure +++ b/sim/sh/configure @@ -7491,6 +7491,16 @@ cat >>confdefs.h <<_ACEOF _ACEOF +fi + +ac_fn_c_check_type "$LINENO" "__int128" "ac_cv_type___int128" "$ac_includes_default" +if test "x$ac_cv_type___int128" = xyes; then : + +cat >>confdefs.h <<_ACEOF +#define HAVE___INT128 1 +_ACEOF + + fi ac_fn_c_check_type "$LINENO" "socklen_t" "ac_cv_type_socklen_t" "#include @@ -11197,7 +11207,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 11200 "configure" +#line 11210 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -11303,7 +11313,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 11306 "configure" +#line 11316 "configure" #include "confdefs.h" #if HAVE_DLFCN_H diff --git a/sim/v850/ChangeLog b/sim/v850/ChangeLog index 2407ed603fb..21706571e51 100644 --- a/sim/v850/ChangeLog +++ b/sim/v850/ChangeLog @@ -1,3 +1,7 @@ +2021-05-16 Mike Frysinger + + * config.in, configure: Regenerate. + 2021-05-04 Mike Frysinger * configure: Regenerate. diff --git a/sim/v850/config.in b/sim/v850/config.in index 889d64c4d65..74af5e5087e 100644 --- a/sim/v850/config.in +++ b/sim/v850/config.in @@ -160,6 +160,9 @@ /* Define to 1 if you have the header file. */ #undef HAVE_WINDOWS_H +/* Define to 1 if the system has the type `__int128'. */ +#undef HAVE___INT128 + /* Define to 1 if you have the `__setfpucw' function. */ #undef HAVE___SETFPUCW diff --git a/sim/v850/configure b/sim/v850/configure index d74f002a0d6..bc49f306a27 100755 --- a/sim/v850/configure +++ b/sim/v850/configure @@ -7504,6 +7504,16 @@ cat >>confdefs.h <<_ACEOF _ACEOF +fi + +ac_fn_c_check_type "$LINENO" "__int128" "ac_cv_type___int128" "$ac_includes_default" +if test "x$ac_cv_type___int128" = xyes; then : + +cat >>confdefs.h <<_ACEOF +#define HAVE___INT128 1 +_ACEOF + + fi ac_fn_c_check_type "$LINENO" "socklen_t" "ac_cv_type_socklen_t" "#include @@ -11210,7 +11220,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 11213 "configure" +#line 11223 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -11316,7 +11326,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 11319 "configure" +#line 11329 "configure" #include "confdefs.h" #if HAVE_DLFCN_H