From 82403eb338d1a6151239868eeb4cbc77083fec77 Mon Sep 17 00:00:00 2001 From: Andrew Waterman Date: Sun, 5 Jun 2011 19:33:32 -0700 Subject: [PATCH] [sim] fix writeback after ipi clearing --- riscv/insns/mfpcr.h | 1 + 1 file changed, 1 insertion(+) 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; -- 2.30.2