mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-07-30 06:20:28 +00:00
Add some more builtins to chibicc
https://justine.lol/cosmopolitan/documentation.html should now contain a lot of functions that had been missing previously due to not having them
This commit is contained in:
parent
ab38f0823d
commit
f1dfa4bdfa
17 changed files with 417 additions and 201 deletions
7
third_party/chibicc/kw.h
vendored
7
third_party/chibicc/kw.h
vendored
|
@ -68,7 +68,7 @@
|
|||
#define KW___ASM__ 84
|
||||
#define KW___BUILTIN_ADD_OVERFLOW 85
|
||||
#define KW___BUILTIN_ASSUME_ALIGNED 86
|
||||
#define KW___BUILTIN_ATOMIC_EXCHANGE 87
|
||||
#define KW___ATOMIC_EXCHANGE 87
|
||||
#define KW___BUILTIN_COMPARE_AND_SWAP 88
|
||||
#define KW___BUILTIN_CONSTANT_P 89
|
||||
#define KW___BUILTIN_EXPECT 90
|
||||
|
@ -105,6 +105,11 @@
|
|||
#define KW_LOGOR 121
|
||||
#define KW_ARROW 122
|
||||
#define KW_DOT 123
|
||||
#define KW___ATOMIC_LOAD 124
|
||||
#define KW___SYNC_LOCK_TEST_AND_SET 125
|
||||
#define KW___SYNC_LOCK_RELEASE 126
|
||||
#define KW___BUILTIN_IA32_PMOVMSKB128 127
|
||||
#define KW___BUILTIN_IA32_MOVNTDQ 128
|
||||
|
||||
#if !(__ASSEMBLER__ + __LINKER__ + 0)
|
||||
COSMOPOLITAN_C_START_
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue