summaryrefslogtreecommitdiffhomepage
path: root/CompilerDriver
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlal.elmahrouss@icloud.com>2024-01-01 16:40:07 +0100
committerAmlal El Mahrouss <amlal.elmahrouss@icloud.com>2024-01-01 16:40:07 +0100
commitf218a35cb9370e21a89d48ca45c8960193d49f8e (patch)
tree64b9c4b41871077a890200ce71c474ac62b4192e /CompilerDriver
parent6c29d80350582805e048ea843a189c85e24b5b45 (diff)
[cpu] changes, registers narrowed to 20, edit codegen.
Signed-off-by: Amlal El Mahrouss <amlal.elmahrouss@icloud.com>
Diffstat (limited to 'CompilerDriver')
-rw-r--r--CompilerDriver/cc.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/CompilerDriver/cc.cxx b/CompilerDriver/cc.cxx
index bc654bc..1f11cb3 100644
--- a/CompilerDriver/cc.cxx
+++ b/CompilerDriver/cc.cxx
@@ -112,7 +112,7 @@ static int kMachine = 0;
/////////////////////////////////////////
static size_t kRegisterCnt = kAsmRegisterLimit;
-static size_t kStartUsable = 1;
+static size_t kStartUsable = 6;
static size_t kUsableLimit = 14;
static size_t kRegisterCounter = kStartUsable;
static std::string kRegisterPrefix = kAsmRegisterPrefix;