mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-07-22 10:30:29 +00:00
Make it possible to compile redbean with chibicc
This cuts build latency down from 5 seconds to 500 milliseconds.
This commit is contained in:
parent
552525cbdd
commit
6ff46ca373
50 changed files with 898 additions and 824 deletions
12
third_party/chibicc/cast.c
vendored
12
third_party/chibicc/cast.c
vendored
|
@ -39,12 +39,12 @@
|
|||
"\taddsd\t%xmm0,%xmm0\n" \
|
||||
"2:"
|
||||
|
||||
#define u64f80 \
|
||||
PUSHPOPRAX("fildq\t(%rsp)\n" \
|
||||
"\ttest\t%rax,%rax\n" \
|
||||
"\tjns\t1f\n" \
|
||||
"\tmov\t$0x5f800000,(%rsp)\n" \
|
||||
"\tfadds\t(%rsp)\n" \
|
||||
#define u64f80 \
|
||||
PUSHPOPRAX("fildq\t(%rsp)\n" \
|
||||
"\ttest\t%rax,%rax\n" \
|
||||
"\tjns\t1f\n" \
|
||||
"\tmovq\t$0x5f800000,(%rsp)\n" \
|
||||
"\tfadds\t(%rsp)\n" \
|
||||
"1:")
|
||||
|
||||
#define i32i8 "movsbl\t%al,%eax"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue