cosmopolitan/libc/intrin
Justine Tunney 3609f65de3
Make malloc() go 200x faster
If pthread_create() is linked into the binary, then the cosmo runtime
will create an independent dlmalloc arena for each core. Whenever the
malloc() function is used it will index `g_heaps[sched_getcpu() / 2]`
to find the arena with the greatest hyperthread / numa locality. This
may be configured via an environment variable. For example if you say
`export COSMOPOLITAN_HEAP_COUNT=1` then you can restore the old ways.
Your process may be configured to have anywhere between 1 - 128 heaps

We need this revision because it makes multithreaded C++ applications
faster. For example, an HTTP server I'm working on that makes extreme
use of the STL went from 16k to 2000k requests per second, after this
change was made. To understand why, try out the malloc_test benchmark
which calls malloc() + realloc() in a loop across many threads, which
sees a a 250x improvement in process clock time and 200x on wall time

The tradeoff is this adds ~25ns of latency to individual malloc calls
compared to MODE=tiny, once the cosmo runtime has transitioned into a
fully multi-threaded state. If you don't need malloc() to be scalable
then cosmo provides many options for you. For starters the heap count
variable above can be set to put the process back in single heap mode
plus you can go even faster still, if you include tinymalloc.inc like
many of the programs in tool/build/.. are already doing since that'll
shave tens of kb off your binary footprint too. Theres also MODE=tiny
which is configured to use just 1 plain old dlmalloc arena by default

Another tradeoff is we need more memory now (except in MODE=tiny), to
track the provenance of memory allocation. This is so allocations can
be freely shared across threads, and because OSes can reschedule code
to different CPUs at any time.
2024-06-05 02:02:14 -07:00
..
aarch64 Make quality improvements 2024-02-25 19:08:43 -08:00
__getauxval.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
__getenv.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
abort.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
abs.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
armopt.c Release Cosmopolitan v3.3 2024-02-20 13:27:59 -08:00
asan.c Make malloc() go 200x faster 2024-06-05 02:02:14 -07:00
asan.internal.h Make malloc() go 200x faster 2024-06-05 02:02:14 -07:00
asancodes.h Make more fixes and improvements 2023-07-29 18:44:15 -07:00
asaninit.S Make malloc() go 200x faster 2024-06-05 02:02:14 -07:00
ashlti3.c Clean up more code 2023-06-18 01:00:05 -07:00
asmflag.h Reduce header complexity 2023-11-28 14:39:42 -08:00
assertfail.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
atexit.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
atomic.h Upgrade to 2022-era LLVM LIBCXX 2024-05-27 02:12:27 -07:00
bcopy.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
bsf.c Rename _bsr/_bsf to bsr/bsf 2024-03-04 17:33:26 -08:00
bsf.h Add deprecated stubs for _bsf / _bsr 2024-03-05 09:45:51 -08:00
bsr.c Rename _bsr/_bsf to bsr/bsf 2024-03-04 17:33:26 -08:00
bsr.h Add deprecated stubs for _bsf / _bsr 2024-03-05 09:45:51 -08:00
bsrl.c Rename _bsr/_bsf to bsr/bsf 2024-03-04 17:33:26 -08:00
bswap.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
bswap.h Add dontthrow attribute to most libc functions 2024-01-09 01:26:03 -08:00
BUILD.mk Make malloc() go 200x faster 2024-06-05 02:02:14 -07:00
bzero.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
chromium.c Release Cosmopolitan v3.3 2024-02-20 13:27:59 -08:00
clearenv.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
cmpxchg.h Reduce header complexity 2023-11-28 14:39:42 -08:00
comparetf2.c Make more code aarch64 friendly 2023-05-10 04:20:46 -07:00
cosmo_once.c Add much of C11 threads.h API 2024-04-28 07:04:08 -07:00
countbits.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
cp.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
createdirectory.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
createfile.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
createfilemapping.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
createfilemappingnuma.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
createnamedpipe.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
createpipe.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
createprocess.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
createsymboliclink.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
createthread.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
cxaatexit.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
cxaatexit.internal.h Add dontthrow attribute to most libc functions 2024-01-09 01:26:03 -08:00
cxablocks.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
cxafinalize.c Rename _bsr/_bsf to bsr/bsf 2024-03-04 17:33:26 -08:00
cxalock.c Release Cosmopolitan v3.3 2024-02-20 13:27:59 -08:00
deletefile.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
demangle.c Refactor and improve CTL and other code 2024-06-04 05:45:48 -07:00
describearchprctlcode.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
describebacktrace.c Improve backtraces 2024-05-30 15:23:11 -07:00
describebacktrace.internal.h Improve backtraces 2024-05-30 15:23:11 -07:00
describecancelstate.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
describecapability.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
describeclockname.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
describecontrolkeystate.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
describedirfd.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
describednotify.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
describeerrnoresult.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
describefcntlcmd.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
describefdset.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
describeflags.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
describeflags.internal.h Add dontthrow attribute to most libc functions 2024-01-09 01:26:03 -08:00
describeflock.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
describeflocktype.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
describeframe.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
describefutexop.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
describegidlist.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
describehow.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
describeinoutint64.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
describeiovec.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
describeiovnt.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
describeitimer.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
describeitimerval.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
describemagnums.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
describemapflags.c Introduce MAP_HUGETLB 2024-05-24 11:44:44 -07:00
describemapping.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
describentconsolemodeinputflags.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
describentconsolemodeoutputflags.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
describentcreationdisposition.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
describentfileaccessflags.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
describentfileflagattr.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
describentfilemapflags.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
describentfileshareflags.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
describentfiletypeflags.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
describentlockfileflags.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
describentmovfileinpflags.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
describentoverlapped.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
describentoverlapped.internal.h Reduce header complexity 2023-11-28 14:39:42 -08:00
describentpageflags.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
describentpipemodeflags.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
describentpipeopenflags.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
describentprocaccessflags.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
describentsecurityattributes.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
describentstartflags.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
describentsymlinkflags.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
describeopenflags.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
describeopenmode.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
describepersonalityflags.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
describepollfds.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
describepollflags.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
describeprctloperation.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
describeprotflags.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
describeptrace.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
describeptraceevent.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
describeremapflags.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
describerlimit.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
describerlimitname.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
describeschedparam.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
describeschedpolicy.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
describeseccompoperation.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
describesicode.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
describesigaction.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
describesigaltstack.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
describesiginfo.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
describesigset.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
describesleepflags.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
describesocketfamily.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
describesocketprotocol.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
describesockettype.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
describesocklevel.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
describesockoptname.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
describestat.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
describestatfs.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
describestdiostate.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
describestringlist.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
describetermios.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
describethreadcreationflags.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
describetimespec.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
describetimeval.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
describevirtualkeycode.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
describewhence.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
describewhichprio.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
describewinsize.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
deviceiocontrol.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
directmap-metal.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
directmap-nt.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
directmap.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
directmap.internal.h Add dontthrow attribute to most libc functions 2024-01-09 01:26:03 -08:00
divmodti4.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
divti3.c Fix small matters and improve sysconf() 2023-08-17 00:32:11 -07:00
dll.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
dll.h Run clang-format (#1197) 2024-06-01 16:30:43 -04:00
dos2errno.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
dos2errno.internal.h Reduce header complexity 2023-11-28 14:39:42 -08:00
enable_threads.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
exit.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
exit1.greg.c Introduce FreeBSD ARM64 support 2023-12-29 20:14:02 -08:00
extend.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
extend.internal.h Add dontthrow attribute to most libc functions 2024-01-09 01:26:03 -08:00
fbclibm.c Make quality improvements 2024-02-25 19:08:43 -08:00
fblibm.c Release Cosmopolitan v3.3 2024-02-20 13:27:59 -08:00
fdlibm.c Release Cosmopolitan v3.3 2024-02-20 13:27:59 -08:00
fds_lock.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
fds_lock_obj.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
fedisableexcept.c Introduce support for trapping math 2024-04-30 13:38:43 -07:00
feenableexcept.c Avoid crash looping on AARCH64 2024-05-08 04:20:22 -07:00
feholdexcept.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
fenv.S Fix more vi modelines (#1006) 2023-12-13 02:28:11 -05:00
fesetround.c Make improvements 2024-02-12 10:23:00 -08:00
feupdateenv.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
ffs.c Fix gcc warning 2024-01-18 16:48:02 -08:00
findclose.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
findfirstfile.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
findmemoryinterval.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
findnextfile.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
float16.c Run clang-format (#1197) 2024-06-01 16:30:43 -04:00
flushers.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
flushfilebuffers.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
flushviewoffile.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
fmax.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
fmaxf.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
fmaxl.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
fnv.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
folibm.c Release Cosmopolitan v3.3 2024-02-20 13:27:59 -08:00
formathex64.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
formatint32.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
formatint64.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
formatoctal32.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
ftrace.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
ftrace_enabled.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
ftrapv.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
futex.S Introduce FreeBSD ARM64 support 2023-12-29 20:14:02 -08:00
g_fds.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
g_fds_init.S Fix more vi modelines (#1006) 2023-12-13 02:28:11 -05:00
gcov.S Fix more vi modelines (#1006) 2023-12-13 02:28:11 -05:00
generateconsolectrlevent.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
getauxval.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
getauxval.internal.h Add dontthrow attribute to most libc functions 2024-01-09 01:26:03 -08:00
getcpuidbrand.S Fix more vi modelines (#1006) 2023-12-13 02:28:11 -05:00
getcpuidemulator.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
getcpuidos.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
getenv.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
getenv.internal.h Add dontthrow attribute to most libc functions 2024-01-09 01:26:03 -08:00
getexitcodeprocess.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
getfileattributes.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
getmainstack.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
getminsigstksz.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
getpid.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
getsafesize.greg.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
gettid.c Add OpenMP support 2024-01-28 22:39:02 -08:00
hilbert.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
hilbert.h Add dontthrow attribute to most libc functions 2024-01-09 01:26:03 -08:00
interrupts.S Stop using .com extension in monorepo 2024-03-03 03:12:19 -08:00
iscall.c Improve backtraces 2024-05-30 15:23:11 -07:00
iscall.internal.h Improve backtraces 2024-05-30 15:23:11 -07:00
iscygwin.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
isdebuggerpresent.c Drop support for Windows 8 2024-05-29 19:37:47 -07:00
isgenuineblink.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
isloopbackip.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
isprivateip.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
ispublicip.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
isrunningundermake.c Release Cosmopolitan v3.3 2024-02-20 13:27:59 -08:00
isworker.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
iswsl.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
kclocknames.S Fix more vi modelines (#1006) 2023-12-13 02:28:11 -05:00
kdos2errno.S Fix more vi modelines (#1006) 2023-12-13 02:28:11 -05:00
kerrnodocs.S Fix more vi modelines (#1006) 2023-12-13 02:28:11 -05:00
kerrnonames.S Fix more vi modelines (#1006) 2023-12-13 02:28:11 -05:00
kfcntlcmds.S Fix more vi modelines (#1006) 2023-12-13 02:28:11 -05:00
kipoptnames.S Fix more vi modelines (#1006) 2023-12-13 02:28:11 -05:00
kmonthname.S Implement proper time zone support 2024-05-04 23:06:37 -07:00
kmonthnameshort.S Implement proper time zone support 2024-05-04 23:06:37 -07:00
kntisinheritable.greg.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
kntstdio.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
kopenflags.S Fix more vi modelines (#1006) 2023-12-13 02:28:11 -05:00
kpollnames.S more modeline errata (#1019) 2023-12-16 23:07:10 -05:00
kprintf.greg.c Make malloc() go 200x faster 2024-06-05 02:02:14 -07:00
kprintf.h Run clang-format (#1197) 2024-06-01 16:30:43 -04:00
krlimitnames.S Fix more vi modelines (#1006) 2023-12-13 02:28:11 -05:00
ksignalnames.S Fix more vi modelines (#1006) 2023-12-13 02:28:11 -05:00
ksockoptnames.S Fix more vi modelines (#1006) 2023-12-13 02:28:11 -05:00
kstarttsc.c more modeline errata (#1019) 2023-12-16 23:07:10 -05:00
ktcpoptnames.S Fix more vi modelines (#1006) 2023-12-13 02:28:11 -05:00
kweekdayname.S Implement proper time zone support 2024-05-04 23:06:37 -07:00
kweekdaynameshort.S Implement proper time zone support 2024-05-04 23:06:37 -07:00
leaky.internal.h Reduce header complexity 2023-11-28 14:39:42 -08:00
leaky.S Fix more vi modelines (#1006) 2023-12-13 02:28:11 -05:00
lengthuint64.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
likely.h Reduce header complexity 2023-11-28 14:39:42 -08:00
lockfileex.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
lshrti3.c Make considerably more progress on AARCH64 2023-05-12 22:42:57 -07:00
macros.h Reduce header complexity 2023-11-28 14:39:42 -08:00
magicu.c Make malloc() go 200x faster 2024-06-05 02:02:14 -07:00
magicu.h Make malloc() go 200x faster 2024-06-05 02:02:14 -07:00
mapviewoffileex.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
mapviewoffileexnuma.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
memchr.c Release Cosmopolitan v3.3 2024-02-20 13:27:59 -08:00
memcmp.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
memmove.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
mempcpy.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
memrchr.c Release Cosmopolitan v3.3 2024-02-20 13:27:59 -08:00
memset.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
memtrack.greg.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
mman.greg.c Run clang-format (#1197) 2024-06-01 16:30:43 -04:00
mmi.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
mmi.init.S Fix more vi modelines (#1006) 2023-12-13 02:28:11 -05:00
mmi_lock.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
movefileex.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
mprotect-sysv.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
mulodi4.c Clean up more code 2023-06-18 01:00:05 -07:00
mulosi4.c Clean up more code 2023-06-18 01:00:05 -07:00
muloti4.c Clean up more code 2023-06-18 01:00:05 -07:00
multf3.c Make more code aarch64 friendly 2023-05-10 04:20:46 -07:00
mulvti3.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
musl.c Release Cosmopolitan v3.3 2024-02-20 13:27:59 -08:00
newbie.h Create ELF aliases for identical symbols 2023-06-06 03:33:49 -07:00
nocolor.c Drop support for Windows 8 2024-05-29 19:37:47 -07:00
nomultics.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
nomultics.internal.h Reduce header complexity 2023-11-28 14:39:42 -08:00
ntcontext2linux.c Make MXCSR editable by signal handlers on Windows 2024-04-30 13:38:43 -07:00
oldstack.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
onarithmeticoverflow.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
openprocess.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
packsswb.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
packsswb.h Reduce header complexity 2023-11-28 14:39:42 -08:00
packuswb.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
packuswb.h Reduce header complexity 2023-11-28 14:39:42 -08:00
paddw.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
paddw.h Reduce header complexity 2023-11-28 14:39:42 -08:00
palignr.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
palignr.h Reduce header complexity 2023-11-28 14:39:42 -08:00
palignrs.S Fix more vi modelines (#1006) 2023-12-13 02:28:11 -05:00
pandn.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
pandn.h Reduce header complexity 2023-11-28 14:39:42 -08:00
pcmpgtb.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
pcmpgtb.h Reduce header complexity 2023-11-28 14:39:42 -08:00
pcmpgtw.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
pcmpgtw.h Reduce header complexity 2023-11-28 14:39:42 -08:00
pmaddubsw.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
pmaddubsw.h Reduce header complexity 2023-11-28 14:39:42 -08:00
pmovmskb.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
pmovmskb.h Reduce header complexity 2023-11-28 14:39:42 -08:00
pmulhrsw.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
pmulhrsw.h Reduce header complexity 2023-11-28 14:39:42 -08:00
popcnt.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
popcnt.h Add dontthrow attribute to most libc functions 2024-01-09 01:26:03 -08:00
printmemoryintervals.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
printsystemmappings.greg.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
promises.c Improve crash backtrace reliability 2024-05-07 18:10:28 -07:00
promises.internal.h Reduce header complexity 2023-11-28 14:39:42 -08:00
prot2nt.greg.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
psraw.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
psraw.h Add dontthrow attribute to most libc functions 2024-01-09 01:26:03 -08:00
psrawv.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
pthread_atfork.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
pthread_cleanup_pop.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
pthread_cleanup_push.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
pthread_mutex_destroy.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
pthread_mutex_init.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
pthread_mutex_lock.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
pthread_mutex_trylock.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
pthread_mutex_unlock.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
pthread_mutexattr_destroy.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
pthread_mutexattr_getpshared.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
pthread_mutexattr_gettype.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
pthread_mutexattr_init.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
pthread_mutexattr_setpshared.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
pthread_mutexattr_settype.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
pthread_pause_np.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
pthread_setcancelstate.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
pthread_spin_destroy.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
pthread_spin_init.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
pthread_spin_lock.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
pthread_spin_trylock.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
pthread_spin_unlock.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
pthread_static.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
pthread_syshand.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
pthread_tid.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
pthread_unref.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
pthreadlist.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
pthreadlock.c Fix fork locking on win32 (#1141) 2024-04-25 23:01:27 -04:00
punpckhbw.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
punpckhbw.h Reduce header complexity 2023-11-28 14:39:42 -08:00
punpckhwd.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
punpckhwd.h Reduce header complexity 2023-11-28 14:39:42 -08:00
punpcklbw.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
punpcklbw.h Reduce header complexity 2023-11-28 14:39:42 -08:00
punpcklwd.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
punpcklwd.h Reduce header complexity 2023-11-28 14:39:42 -08:00
pushpop.internal.h Reduce header complexity 2023-11-28 14:39:42 -08:00
rand64.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
removedirectory.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
reopenfile.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
repmovsb.h Run clang-format (#1197) 2024-06-01 16:30:43 -04:00
repstosb.h Run clang-format (#1197) 2024-06-01 16:30:43 -04:00
reservefd.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
safemacros.internal.h Run clang-format (#1197) 2024-06-01 16:30:43 -04:00
scalblnl.c Release Cosmopolitan v3.3 2024-02-20 13:27:59 -08:00
scalbn.c Release Cosmopolitan v3.3 2024-02-20 13:27:59 -08:00
scalbnf.c Release Cosmopolitan v3.3 2024-02-20 13:27:59 -08:00
scalbnl.c Release Cosmopolitan v3.3 2024-02-20 13:27:59 -08:00
setcurrentdirectory.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
setjmp.internal.h Reduce header complexity 2023-11-28 14:39:42 -08:00
sig.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
sigaddset.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
sigandset.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
sigcountset.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
sigdelset.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
sigemptyset.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
sigfillset.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
sighandrvas.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
sigisemptyset.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
sigismember.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
sigorset.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
sigprocmask-nt.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
sigprocmask-sysv.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
sigprocmask.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
sizefmt.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
stackcall.S Fix more vi modelines (#1006) 2023-12-13 02:28:11 -05:00
stackchkfail.c Run clang-format (#1197) 2024-06-01 16:30:43 -04:00
stackchkfaillocal.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
stackchkguard.S Release Cosmopolitan v3.3 2024-02-20 13:27:59 -08:00
stpcpy.c Make improvements 2024-02-12 10:23:00 -08:00
strace.internal.h Re-disable WIN32 call tracing 2023-12-08 20:06:16 -08:00
strace_enabled.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
stracef.greg.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
strchr.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
strchrnul.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
strcmp.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
strcpy.c Make improvements 2024-02-12 10:23:00 -08:00
strerror.c Refactor some code 2024-05-24 11:44:44 -07:00
strerror_r.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
strlen.c Run clang-format (#1197) 2024-06-01 16:30:43 -04:00
strncmp.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
strnlen.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
strrchr.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
strsignal.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
strsignal_r.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
sys_gettid.greg.c Introduce FreeBSD ARM64 support 2023-12-29 20:14:02 -08:00
sys_set_tls.S Make cosmo_dlopen() safer and faster 2024-01-05 20:42:19 -08:00
sys_umtx_timedwait_uint.c Introduce FreeBSD ARM64 support 2023-12-29 20:14:02 -08:00
terminateprocess.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
terminatethisprocess.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
tlsmorphed.c Make cosmo_dlopen() safer and faster 2024-01-05 20:42:19 -08:00
tpenc.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
typeinfo.S Fix more vi modelines (#1006) 2023-12-13 02:28:11 -05:00
ubsan.c Implement proper time zone support 2024-05-04 23:06:37 -07:00
ubsan.h Implement proper time zone support 2024-05-04 23:06:37 -07:00
ubsanconf.c Implement proper time zone support 2024-05-04 23:06:37 -07:00
udivmodti4.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
ulock.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
ulock.h Add dontthrow attribute to most libc functions 2024-01-09 01:26:03 -08:00
umask.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
unassert.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
unleaf.c Introduce support for trapping math 2024-04-30 13:38:43 -07:00
unlockfileex.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
unmapviewoffile.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
unsetenv.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
virtualprotect.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
waitformultipleobjects.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
waitforsingleobject.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
weaken.h Reduce header complexity 2023-11-28 14:39:42 -08:00
winerr.greg.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
winsockerr.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
wintlsinit.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
wsagetoverlappedresult.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
wsarecv.c Add libresolv from Musl Libc 2023-12-08 20:04:10 -08:00
wsarecvfrom.c Add libresolv from Musl Libc 2023-12-08 20:04:10 -08:00
wsawaitformultipleevents.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
x86.c Improve AVX512 feature detection 2024-05-07 03:19:49 -07:00
x86.h Improve crash backtrace reliability 2024-05-07 18:10:28 -07:00
x86march.c Improve AVX512 feature detection 2024-05-07 03:19:49 -07:00
x86names.c Add more Intel microarchitectures 2024-01-09 01:54:26 -08:00
xchg.internal.h Reduce header complexity 2023-11-28 14:39:42 -08:00