From cf95d1a9a9f9dacbe38dee2f753615c091ba6319 Mon Sep 17 00:00:00 2001 From: lemon Date: Thu, 18 Dec 2025 17:53:55 +0100 Subject: regalloc+emit: get rid of xsave/xrestore hack Was used for situation where we needed to spill more than 1 temporary and have to use a register that is already used. Instead of push/pop, we can just allocate and set aside specific stack slots for this purpose. Also, reworked linearscan() interval sets to separate FPR/GPR intervals. --- main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'main.c') diff --git a/main.c b/main.c index f84c106..b6b60f0 100644 --- a/main.c +++ b/main.c @@ -478,7 +478,7 @@ driver(void) { void cpp(struct wbuf *, const char *); if (task.verbose) - efmt("# Target: %s\n", task.targ); + efmt("# Target: %s\n", task.targ ? task.targ : "(host)"); if (task.outft == OFTobj) { assert(task.ninf == 1); if (*task.inft != IFTc) -- cgit v1.2.3