mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-06-02 02:32:27 +00:00
Release Cosmopolitan v3.8.0
This change switches c++ exception handling from sjlj to standard dwarf. It's needed because clang for aarch64 doesn't support sjlj. It turns out that libunwind had a bare-metal configuration that made this easy to do. This change gets the new experimental cosmocc -mclang flag in a state of working so well that it can now be used to build all of llamafile and it goes 3x faster in terms of build latency, without trading away any perf. The int_fast16_t and int_fast32_t types are now always defined as 32-bit in the interest of having more abi consistency between cosmocc -mgcc and -mclang mode.
This commit is contained in:
parent
5b9862907c
commit
c9152b6f14
188 changed files with 199063 additions and 636 deletions
|
@ -3,8 +3,8 @@
|
|||
#endif
|
||||
|
||||
#define __COSMOPOLITAN_MAJOR__ 3
|
||||
#define __COSMOPOLITAN_MINOR__ 7
|
||||
#define __COSMOPOLITAN_PATCH__ 1
|
||||
#define __COSMOPOLITAN_MINOR__ 8
|
||||
#define __COSMOPOLITAN_PATCH__ 0
|
||||
#define __COSMOPOLITAN__ \
|
||||
(100000000 * __COSMOPOLITAN_MAJOR__ + 1000000 * __COSMOPOLITAN_MINOR__ + \
|
||||
__COSMOPOLITAN_PATCH__)
|
||||
|
@ -93,6 +93,30 @@
|
|||
#include "libc/integral/llp64.inc"
|
||||
#endif
|
||||
|
||||
#undef __INT_FAST16_MAX__
|
||||
#undef __INT_FAST16_TYPE__
|
||||
#undef __UINT_FAST16_MAX__
|
||||
#undef __INT_FAST16_WIDTH__
|
||||
#undef __UINT_FAST16_TYPE__
|
||||
|
||||
#define __INT_FAST16_MAX__ 2147483647
|
||||
#define __INT_FAST16_TYPE__ int
|
||||
#define __UINT_FAST16_MAX__ 4294967295U
|
||||
#define __INT_FAST16_WIDTH__ 32
|
||||
#define __UINT_FAST16_TYPE__ unsigned int
|
||||
|
||||
#undef __INT_FAST32_MAX__
|
||||
#undef __INT_FAST32_TYPE__
|
||||
#undef __UINT_FAST32_MAX__
|
||||
#undef __INT_FAST32_WIDTH__
|
||||
#undef __UINT_FAST32_TYPE__
|
||||
|
||||
#define __INT_FAST32_MAX__ 2147483647
|
||||
#define __INT_FAST32_TYPE__ int
|
||||
#define __UINT_FAST32_MAX__ 4294967295U
|
||||
#define __INT_FAST32_WIDTH__ 32
|
||||
#define __UINT_FAST32_TYPE__ unsigned int
|
||||
|
||||
#if !(__ASSEMBLER__ + __LINKER__ + 0)
|
||||
#ifdef __STDC__
|
||||
#include "libc/integral/c.inc"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue