mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-06-30 08:18:30 +00:00
Make minor improvements
This commit is contained in:
parent
1fc91f3580
commit
b562d6fdb3
41 changed files with 1948 additions and 92 deletions
4
third_party/chibicc/asm.c
vendored
4
third_party/chibicc/asm.c
vendored
|
@ -20,6 +20,8 @@
|
|||
|
||||
#define PRECIOUS 0b1111000000101000 // bx,bp,r12-r15
|
||||
|
||||
StaticAsm *staticasms;
|
||||
|
||||
static const char kGreg[4][16][5] = {
|
||||
{"al", "cl", "dl", "bl", "spl", "bpl", "sil", "dil", "r8b", "r9b", "r10b",
|
||||
"r11b", "r12b", "r13b", "r14b", "r15b"},
|
||||
|
@ -31,8 +33,6 @@ static const char kGreg[4][16][5] = {
|
|||
"r11", "r12", "r13", "r14", "r15"},
|
||||
};
|
||||
|
||||
StaticAsm *staticasms;
|
||||
|
||||
static void DecodeAsmConstraints(AsmOperand *op) {
|
||||
int i;
|
||||
char c;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue