diff options
| author | 2023-06-01 23:16:48 +0200 | |
|---|---|---|
| committer | 2023-06-01 23:27:20 +0200 | |
| commit | 65ace14e184807df026e985e073b3b5c5aaf576c (patch) | |
| tree | d4554e0eef30b6f8771bfa90835ff6dcb95198a7 /amd64/all.h | |
| parent | a98075934ece8c7ff351f8449f6515c12b9feec8 (diff) | |
basic ABI lowering of aggregates
Diffstat (limited to 'amd64/all.h')
| -rw-r--r-- | amd64/all.h | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/amd64/all.h b/amd64/all.h index fdd759a..915d93a 100644 --- a/amd64/all.h +++ b/amd64/all.h @@ -1,6 +1,5 @@ #include "../ir.h" - #define LIST_REGS(_) \ _(RAX) _(RCX) _(RDX) _(RBX) _(RSP) _(RBP) _(RSI) _(RDI) \ _(R8) _(R9) _(R10) _(R11) _(R12) _(R13) _(R14) _(R15) \ @@ -13,18 +12,4 @@ enum { #undef R }; -const char amd64_rnames[][6] = { -#define R(r) #r, - LIST_REGS(R) -#undef R -}; - -const struct mctarg t_amd64_sysv = { - .gpr0 = RAX, .ngpr = R15 - RAX + 1, - .fpr0 = XMM0, .nfpr = XMM15 - XMM0 + 1, - .rcallee = {{1<<RBX | 1<<R12 | 1<<R13 | 1<<R14 | 1<<R15}}, - .rglob = {{1<<RSP | 1<<RBP}}, - .rnames = amd64_rnames, -}; - /* vim:set ts=3 sw=3 expandtab: */ |