updated
authorGengbin Zheng <gzheng@illinois.edu>
Thu, 25 Oct 2012 22:09:29 +0000 (17:09 -0500)
committerGengbin Zheng <gzheng@illinois.edu>
Thu, 25 Oct 2012 22:09:29 +0000 (17:09 -0500)
src/scripts/configure
src/scripts/conv-autoconfig.h.in

index 7311c1540cfbae056c5e0854ff6379bec9d643c7..d2dab1eef4747e913d40a7a9921f54df2278ce80 100755 (executable)
@@ -2536,6 +2536,23 @@ cat >>confdefs.h <<_ACEOF
 _ACEOF
 
 
+#### Check __int128_t ####
+cat > $t <<EOT
+#include <stdlib.h>
+int foo(void) {
+  __int128_t   a;
+  __uint128_t   b;
+  int x[(int)(sizeof(__int128_t) - 15)]={0};
+  return x[0];
+}
+EOT
+test_cxx "whether __int128_t (128-bit integer) works" "yes" "no" ""
+
+cat >>confdefs.h <<_ACEOF
+#define CMK___int128_t_DEFINED $pass
+_ACEOF
+
+
 #### Check long double ####
 cat > $t <<EOT
 #include <stdlib.h>
index abdf4f99faf1ae9bdd8838632313da9db18898db..0cc02ab9382797e52c73293f3e6826a6bfb6ba9f 100644 (file)
 /* whether __int128 works */
 #undef CMK___int128_DEFINED
 
+/* whether __int128_t works */
+#undef CMK___int128_t_DEFINED
+
 /* whether __int64 works */
 #undef CMK___int64_DEFINED