mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-07-23 19:10:30 +00:00
Add atomics to chibicc
This change also fixes #434 and makes the chibicc assembler better.
This commit is contained in:
parent
5ddf43332e
commit
a988896048
21 changed files with 650 additions and 445 deletions
2
third_party/chibicc/README.cosmo
vendored
2
third_party/chibicc/README.cosmo
vendored
|
@ -13,11 +13,11 @@ local enhancements
|
|||
- support _Static_assert
|
||||
- support __vector_size__
|
||||
- support __builtin_add_overflow, etc.
|
||||
- support GCC C11 __atomic_* primitives
|
||||
- support __builtin_memcpy, strlen, strpbrk, etc.
|
||||
- support __builtin_constant_p, __builtin_likely, etc.
|
||||
- support __builtin_isunordered, __builtin_islessgreater, etc.
|
||||
- support __builtin_ctz, __builtin_bswap, __builtin_popcount, etc.
|
||||
- support __atomic_load, __sync_lock_test_and_set, __sync_lock_release, etc.
|
||||
- support __force_align_arg_pointer__, __no_caller_saved_registers__, etc.
|
||||
- support __constructor__, __section__, __cold__, -ffunction-sections, etc.
|
||||
- support building -x assembler-with-cpp a.k.a. .S files
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue