From d4de41da0bd70a51aeb26b3d1a8d70bd59b3447e Mon Sep 17 00:00:00 2001 From: Julian Blake Kongslie Date: Sat, 15 Oct 2022 14:30:18 -0700 Subject: Add MQ register support. --- isa/checker.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'isa/checker.cpp') diff --git a/isa/checker.cpp b/isa/checker.cpp index 05b59a9..1919bd1 100644 --- a/isa/checker.cpp +++ b/isa/checker.cpp @@ -28,6 +28,8 @@ void checker::execute() { inst.acc = acc; if (inst.need_read_link) inst.link = link; + if (inst.need_read_mq) + inst.mq = mq; if (inst.read_ctlreg.has_value()) inst.ctlval = ctlregs[*inst.read_ctlreg]; inst.execute(); @@ -35,6 +37,8 @@ void checker::execute() { acc = inst.acc.value(); if (inst.need_write_link) link = inst.link.value(); + if (inst.need_write_mq) + mq = inst.mq.value(); if (inst.write_ctlreg.has_value()) ctlregs[*inst.write_ctlreg] = inst.ctlval.value(); if (inst.need_exec_store) -- cgit v1.2.3