From 65ace14e184807df026e985e073b3b5c5aaf576c Mon Sep 17 00:00:00 2001 From: lemon Date: Thu, 1 Jun 2023 23:16:48 +0200 Subject: basic ABI lowering of aggregates --- amd64/all.h | 15 --------------- 1 file changed, 15 deletions(-) (limited to 'amd64/all.h') 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<