> compile NEMU
ysyx_22040000 李心杨 Linux calcite 6.6.18 #1-NixOS SMP PREEMPT_DYNAMIC Fri Feb 23 08:25:28 UTC 2024 x86_64 GNU/Linux 18:37:36 up 22:05, 2 users, load average: 0.50, 0.50, 0.59
This commit is contained in:
parent
0229b0601d
commit
30cd92be1f
1 changed files with 1 additions and 1 deletions
|
@ -67,7 +67,7 @@ static int decode_exec(Decode *s) {
|
||||||
INSTPAT_START();
|
INSTPAT_START();
|
||||||
INSTPAT("??????? ????? ????? ??? ????? 01101 11", lui , U, R(rd) = imm);
|
INSTPAT("??????? ????? ????? ??? ????? 01101 11", lui , U, R(rd) = imm);
|
||||||
INSTPAT("??????? ????? ????? ??? ????? 00101 11", auipc , U, R(rd) = s->pc + imm);
|
INSTPAT("??????? ????? ????? ??? ????? 00101 11", auipc , U, R(rd) = s->pc + imm);
|
||||||
// INSTPAT("??????? ????? ????? ??? ????? 11011 11", jal, , J, do_jump(s, rd, imm) );
|
INSTPAT("??????? ????? ????? ??? ????? 11011 11", jal , J, do_jump(s, rd, imm) );
|
||||||
INSTPAT("??????? ????? ????? ??? ????? 11001 11", jalr , I, do_jump(s, rd, imm) );
|
INSTPAT("??????? ????? ????? ??? ????? 11001 11", jalr , I, do_jump(s, rd, imm) );
|
||||||
INSTPAT("??????? ????? ????? 100 ????? 00000 11", lbu , I, R(rd) = Mr(src1 + imm, 1));
|
INSTPAT("??????? ????? ????? 100 ????? 00000 11", lbu , I, R(rd) = Mr(src1 + imm, 1));
|
||||||
INSTPAT("??????? ????? ????? 000 ????? 01000 11", sb , S, Mw(src1 + imm, 1, src2));
|
INSTPAT("??????? ????? ????? 000 ????? 01000 11", sb , S, Mw(src1 + imm, 1, src2));
|
||||||
|
|
Loading…
Reference in a new issue