> compile NEMU

221220000 张三
Linux zzy 5.15.146.1-microsoft-standard-WSL2 #1 SMP Thu Jan 11 04:09:03 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
 22:09:29 up 4 days, 17:15,  1 user,  load average: 0.97, 0.72, 0.59
This commit is contained in:
tracer-ics2023
2024-09-21 22:09:30 +08:00
committed by zzy
parent 56cd9863fe
commit e0199e1b4f

View File

@ -137,7 +137,7 @@ static int decode_exec(Decode *s) {
// INSTPAT("??????? ????? ????? 111 ????? 11100 11", csrrci , I, );
// INSTPAT("0001000 00010 00000 000 00000 11100 11", sret , R, );
INSTPAT("0011000 00010 00000 000 00000 11100 11", mret , R, s->dnpc = C(MEPC));
INSTPAT("0011000 00010 00000 000 00000 11100 11", mret , R, s->dnpc = C(MEPC) + 4);
INSTPAT("??????? ????? ????? ??? ????? ????? ??", inv , N, INV(s->pc));
INSTPAT_END();