diff --git a/test/libc/intrin/memmove_test.c b/test/libc/intrin/memmove_test.c index 33b2ea6ad..701ef044a 100644 --- a/test/libc/intrin/memmove_test.c +++ b/test/libc/intrin/memmove_test.c @@ -19,11 +19,9 @@ #include "libc/macros.internal.h" #include "libc/mem/gc.h" #include "libc/mem/mem.h" -#include "libc/nexgen32e/nexgen32e.h" #include "libc/runtime/runtime.h" #include "libc/runtime/sysconf.h" #include "libc/stdio/rand.h" -#include "libc/stdio/stdio.h" #include "libc/str/str.h" #include "libc/sysv/consts/map.h" #include "libc/sysv/consts/prot.h" diff --git a/tool/emacs/cosmo-c-builtins.el b/tool/emacs/cosmo-c-builtins.el index eb0362b18..4ed0d39b3 100644 --- a/tool/emacs/cosmo-c-builtins.el +++ b/tool/emacs/cosmo-c-builtins.el @@ -191,7 +191,14 @@ "__is_same")) (cuda-builtin-types - '("__syncthreads")) + '("__syncthreads" + "__shfl" + "__shfl_xor" + "__shfl_sync" + "__shfl_down" + "__shfl_up_sync" + "__shfl_down_sync" + "__shfl_xor_sync")) (cosmopolitan-builtin-defines '("COSMOPOLITAN_CXX_START_" diff --git a/tool/emacs/cosmo-cpp-constants.el b/tool/emacs/cosmo-cpp-constants.el index 010ab7127..e028b685e 100644 --- a/tool/emacs/cosmo-cpp-constants.el +++ b/tool/emacs/cosmo-cpp-constants.el @@ -16,6 +16,7 @@ "__GNUC_PATCHLEVEL__" "__GNUC__" "__APPLE__" + "__linux__" "__HAIKU__" "__CYGWIN__" "__EMSCRIPTEN__" @@ -187,7 +188,23 @@ "_GNU_SOURCE" "_BSD_SOURCE" "_COSMO_SOURCE" - "_XOPEN_SOURCE")) + "_XOPEN_SOURCE" + "__FLT16_HAS_QUIET_NAN__" + "__FLT16_DIG__" + "__FLT16_MIN_EXP__" + "__FLT16_MAX_10_EXP__" + "__FLT16_DECIMAL_DIG__" + "__FLT16_DENORM_MIN__" + "__FLT16_MIN_10_EXP__" + "__FLT16_IS_IEC_60559__" + "__FLT16_MAX_EXP__" + "__FLT16_EPSILON__" + "__FLT16_NORM_MAX__" + "__FLT16_MAX__" + "__FLT16_HAS_INFINITY__" + "__FLT16_MANT_DIG__" + "__FLT16_MIN__" + "__FLT16_HAS_DENORM__")) (defconst cosmo-cpp-constants-cosmopolitan '("__SAUCE__"