mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-06-27 06:48:31 +00:00
Make improvements
- More timspec_*() and timeval_*() APIs have been introduced. - The copyfd() function is now simplified thanks to POSIX rules. - More Cosmo-specific APIs have been moved behind the COSMO define. - The setitimer() polyfill for Windows NT is now much higher quality. - Fixed build error for MODE=aarch64 due to -mstringop-strategy=loop. - This change introduces `make MODE=nox87 toolchain` which makes it possible to build programs using your cosmocc toolchain that don't have legacy fpu instructions. This is useful, for example, if you want to have a ~22kb tinier blink virtual machine.
This commit is contained in:
parent
8dc11afcf6
commit
c3440d040c
132 changed files with 539 additions and 587 deletions
|
@ -45,6 +45,7 @@ cosmo: push %rbp
|
|||
mov %eax,%r12d
|
||||
#endif /* SYSDEBUG */
|
||||
|
||||
#ifndef NOX87
|
||||
// Windows always initializes FPU to douuble precision.
|
||||
// WSL breaks Linux ABI by initializing FPU to double precision.
|
||||
// This code makes long double long again.
|
||||
|
@ -70,6 +71,7 @@ cosmo: push %rbp
|
|||
// d││││rr││││││
|
||||
1: .short 0b00000000000000000001101111111
|
||||
.previous
|
||||
#endif
|
||||
|
||||
#ifdef __FAST_MATH__
|
||||
push %rax
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue