提交 f73d004e 编写于 作者: Z Zihao Yu

riscv64,difftest,ref: do not check csr

* we may enable CSR checking in the future
上级 e2be7d4d
......@@ -4,6 +4,7 @@
#include "difftest.h"
static void csr_prepare() {
return;
cpu.mstatus = mstatus->val;
cpu.mcause = mcause->val;
cpu.mepc = mepc->val;
......@@ -16,6 +17,7 @@ static void csr_prepare() {
}
static void csr_writeback() {
return;
mstatus->val = cpu.mstatus;
mcause ->val = cpu.mcause ;
mepc ->val = cpu.mepc ;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册