cosmopolitan/libc/intrin
Justine Tunney f7780de24b
Make realloc() go 100x faster on Linux/NetBSD
Cosmopolitan now supports mremap(), which is only supported on Linux and
NetBSD. First, it allows memory mappings to be relocated without copying
them; this can dramatically speed up data structures like std::vector if
the array size grows larger than 256kb. The mremap() system call is also
10x faster than munmap() when shrinking large memory mappings.

There's now two functions, getpagesize() and getgransize() which help to
write portable code that uses mmap(MAP_FIXED). Alternative sysconf() may
be called with our new _SC_GRANSIZE. The madvise() system call now has a
better wrapper with improved documentation.
2024-07-07 12:40:30 -07:00
..
aarch64 Make quality improvements 2024-02-25 19:08:43 -08:00
__getauxval.c Reduce code size of mandatory runtime 2024-07-04 02:50:20 -07: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
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 realloc() go 100x faster on Linux/NetBSD 2024-07-07 12:40:30 -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 Fix issue with ctl::vector constructor 2024-06-30 02:26:38 -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 Delete ASAN 2024-06-22 05:45:49 -07:00
describeflags.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
describeflags.internal.h Make realloc() go 100x faster on Linux/NetBSD 2024-07-07 12:40:30 -07:00
describeflock.c Delete ASAN 2024-06-22 05:45:49 -07:00
describeflocktype.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
describefutexop.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
describegidlist.c Delete ASAN 2024-06-22 05:45:49 -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 Delete ASAN 2024-06-22 05:45:49 -07:00
describeiovnt.c Delete ASAN 2024-06-22 05:45:49 -07:00
describeitimer.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
describeitimerval.c Delete ASAN 2024-06-22 05:45:49 -07:00
describemagnums.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
describemapflags.c Rewrite memory manager 2024-06-22 05:45:11 -07:00
describemapping.c Make realloc() go 100x faster on Linux/NetBSD 2024-07-07 12:40:30 -07:00
describemremapflags.c Make realloc() go 100x faster on Linux/NetBSD 2024-07-07 12:40:30 -07: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 Delete ASAN 2024-06-22 05:45:49 -07:00
describepollflags.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
describeprotflags.c Make mmap() scalable 2024-07-05 23:26:00 -07: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
describerlimit.c Make mmap() scalable 2024-07-05 23:26: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 Delete ASAN 2024-06-22 05:45:49 -07:00
describesigaltstack.c Delete ASAN 2024-06-22 05:45:49 -07:00
describesiginfo.c Delete ASAN 2024-06-22 05:45:49 -07:00
describesigset.c Delete ASAN 2024-06-22 05:45:49 -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 Delete ASAN 2024-06-22 05:45:49 -07:00
describestatfs.c Delete ASAN 2024-06-22 05:45:49 -07:00
describestdiostate.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
describestringlist.c Delete ASAN 2024-06-22 05:45:49 -07:00
describetermios.c Delete ASAN 2024-06-22 05:45:49 -07:00
describethreadcreationflags.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
describetimespec.c Delete ASAN 2024-06-22 05:45:49 -07:00
describetimeval.c Delete ASAN 2024-06-22 05:45:49 -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 Delete ASAN 2024-06-22 05:45:49 -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 Make mmap() scalable 2024-07-05 23:26:00 -07:00
directmap.c Rewrite memory manager 2024-06-22 05:45:11 -07: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 Make mmap() scalable 2024-07-05 23:26:00 -07:00
dll.h Rewrite memory manager 2024-06-22 05:45:11 -07: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
dsohandle.S Add more CTL content 2024-06-28 19:09:54 -07: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 Make realloc() go 100x faster on Linux/NetBSD 2024-07-07 12:40:30 -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 Fix bugs with new memory manager 2024-06-29 10:53:57 -07: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
findnextfile.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
float16.c Rerun clang-format on the repo (#1217) 2024-06-15 16:34:48 -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 Reduce code size of mandatory runtime 2024-07-04 02:50:20 -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 Simplify memory manager 2024-07-05 05:47:15 -07: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
getgransize.c Make realloc() go 100x faster on Linux/NetBSD 2024-07-07 12:40:30 -07:00
getmainstack.c Simplify memory manager 2024-07-05 05:47:15 -07:00
getminsigstksz.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
getpagesize.c Simplify memory manager 2024-07-05 05:47:15 -07:00
getpid.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
getsafesize.greg.c Rewrite memory manager 2024-06-22 05:45:11 -07:00
gettid.c Reduce code size of mandatory runtime 2024-07-04 02:50:20 -07: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
klog.c Rewrite memory manager 2024-06-22 05:45:11 -07: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 mmap() scalable 2024-07-05 23:26:00 -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.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 Rerun clang-format on the repo (#1217) 2024-06-15 16:34:48 -04:00
magicu.h Rerun clang-format on the repo (#1217) 2024-06-15 16:34:48 -04:00
maps.c Make realloc() go 100x faster on Linux/NetBSD 2024-07-07 12:40:30 -07:00
maps.h Make realloc() go 100x faster on Linux/NetBSD 2024-07-07 12:40:30 -07:00
maps_init.S Rewrite memory manager 2024-06-22 05:45:11 -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 Delete ASAN 2024-06-22 05:45:49 -07:00
memcmp.c Apply clang-format update to repo (#1154) 2024-04-25 10:38:00 -07:00
memmove.c Delete ASAN 2024-06-22 05:45:49 -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
mman.greg.c Get deathstar demo working again on metal 2024-07-04 03:44:17 -07:00
mmap.c Make realloc() go 100x faster on Linux/NetBSD 2024-07-07 12:40:30 -07: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
mprotect.c Make realloc() go 100x faster on Linux/NetBSD 2024-07-07 12:40:30 -07:00
msync-nt.c Make realloc() go 100x faster on Linux/NetBSD 2024-07-07 12:40:30 -07:00
msync.c Rewrite memory manager 2024-06-22 05:45:11 -07: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
munmap-metal.c Rewrite memory manager 2024-06-22 05:45:11 -07:00
munmap-sysv.c Rewrite memory manager 2024-06-22 05:45:11 -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 Rewrite memory manager 2024-06-22 05:45:11 -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 Rerun clang-format on the repo (#1217) 2024-06-15 16:34:48 -04: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
printmaps.c Make mmap() scalable 2024-07-05 23:26:00 -07: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 Make mmap() scalable 2024-07-05 23:26:00 -07: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_atfork_actual.c Fix MODE=tinylinux build 2024-07-06 01:51:08 -07: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_delay_np.c Make mmap() scalable 2024-07-05 23:26:00 -07:00
pthread_mutex_destroy.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
pthread_mutex_init.c Fix bugs with new memory manager 2024-06-29 10:53:57 -07:00
pthread_mutex_lock.c Make mmap() scalable 2024-07-05 23:26:00 -07:00
pthread_mutex_trylock.c Make mmap() scalable 2024-07-05 23:26:00 -07:00
pthread_mutex_unlock.c Make mmap() scalable 2024-07-05 23:26:00 -07:00
pthread_mutexattr_destroy.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
pthread_mutexattr_getpshared.c Fix bugs with new memory manager 2024-06-29 10:53:57 -07:00
pthread_mutexattr_gettype.c Fix bugs with new memory manager 2024-06-29 10:53:57 -07:00
pthread_mutexattr_init.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
pthread_mutexattr_setpshared.c Fix bugs with new memory manager 2024-06-29 10:53:57 -07:00
pthread_mutexattr_settype.c Fix bugs with new memory manager 2024-06-29 10:53:57 -07:00
pthread_orphan_np.c Introduce ctl::set and ctl::map 2024-06-23 22:27:11 -07: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 Make mmap() scalable 2024-07-05 23:26:00 -07:00
pthread_tid.c Make mmap() scalable 2024-07-05 23:26:00 -07:00
pthread_unref.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
pthread_yield_np.c Make mmap() scalable 2024-07-05 23:26:00 -07:00
pthreadlist.c flip et / noet in modelines 2023-12-07 22:17:11 -05:00
pthreadlock.c Reduce code size of mandatory runtime 2024-07-04 02:50:20 -07: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
randaddr.c Make realloc() go 100x faster on Linux/NetBSD 2024-07-07 12:40:30 -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 Further improve mmap() locking story 2024-06-29 17:12:43 -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
sched_yield.S Do more quality assurance work 2024-06-24 06:53:49 -07: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 Get deathstar demo working again on metal 2024-07-04 03:44:17 -07: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 Delete ASAN 2024-06-22 05:45:49 -07: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 Delete ASAN 2024-06-22 05:45:49 -07:00
strace.internal.h Simplify memory manager 2024-07-05 05:47:15 -07: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 Rerun clang-format on the repo (#1217) 2024-06-15 16:34:48 -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
tree.c Make mmap() scalable 2024-07-05 23:26:00 -07:00
tree.h Make realloc() go 100x faster on Linux/NetBSD 2024-07-07 12:40:30 -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
virtualmax.c Rewrite memory manager 2024-06-22 05:45:11 -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