From cf95d1a9a9f9dacbe38dee2f753615c091ba6319 Mon Sep 17 00:00:00 2001
From: lemon <lsof@mailbox.org>
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.
---
 ir/op.def | 2 --
 1 file changed, 2 deletions(-)

(limited to 'ir/op.def')

diff --git a/ir/op.def b/ir/op.def
index 947b1f0..2476ecf 100644
--- a/ir/op.def
+++ b/ir/op.def
@@ -72,5 +72,3 @@ _(vastart,   1)
 _(vaarg,     2)
 /* machine-specific instructions */
 _(xvaprologue, 1)
-_(xsave,     1)
-_(xrestore,  1)
-- 
cgit v1.2.3

