> 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
 19:52:04 up 4 days, 14:57,  1 user,  load average: 0.67, 0.52, 0.41
This commit is contained in:
tracer-ics2023
2024-09-21 19:52:05 +08:00
committed by zzy
parent 46d79c83c3
commit 456afeae86

View File

@ -130,8 +130,8 @@ static int decode_exec(Decode *s) {
INSTPAT("0000001 ????? ????? 111 ????? 01100 11", remu , R, R(rd) = src2 ? (word_t)src1 %(word_t) src2 : src1);
INSTPAT("??????? ????? ????? 001 ????? 11100 11", csrrw , I, R(rd) = C(imm), C(imm) = src1);
// INSTPAT("??????? ????? ????? 010 ????? 11100 11", csrrs , I, );
// INSTPAT("??????? ????? ????? 011 ????? 11100 11", csrrc , I, );
INSTPAT("??????? ????? ????? 010 ????? 11100 11", csrrs , I, );
INSTPAT("??????? ????? ????? 011 ????? 11100 11", csrrc , I, );
// INSTPAT("??????? ????? ????? 101 ????? 11100 11", csrrwi , I, );
// INSTPAT("??????? ????? ????? 110 ????? 11100 11", csrrsi , I, );
// INSTPAT("??????? ????? ????? 111 ????? 11100 11", csrrci , I, );