From: Andrew Waterman Date: Mon, 6 Jun 2011 02:33:32 +0000 (-0700) Subject: [sim] fix writeback after ipi clearing X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=82403eb338d1a6151239868eeb4cbc77083fec77;p=riscv-isa-sim.git [sim] fix writeback after ipi clearing --- diff --git a/riscv/insns/mfpcr.h b/riscv/insns/mfpcr.h index b151150..3f47a10 100644 --- a/riscv/insns/mfpcr.h +++ b/riscv/insns/mfpcr.h @@ -26,6 +26,7 @@ switch(insn.rtype.rs2) val = cause; break; case 7: + val = 0; cause &= ~(1 << (IPI_IRQ+CAUSE_IP_SHIFT)); break;