From 9231d2235df1a6ec8f439ff5c61de0e49c522c73 Mon Sep 17 00:00:00 2001 From: Gabe Black Date: Tue, 29 Aug 2006 16:06:27 -0400 Subject: Don't store if there's a fault. --HG-- extra : convert_revision : fc852bee572b36daab7a34ee1820f856ccd71ca5 --- src/arch/sparc/isa/formats/mem.isa | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/arch/sparc') diff --git a/src/arch/sparc/isa/formats/mem.isa b/src/arch/sparc/isa/formats/mem.isa index 12dae57e5..9011c1fc6 100644 --- a/src/arch/sparc/isa/formats/mem.isa +++ b/src/arch/sparc/isa/formats/mem.isa @@ -111,10 +111,10 @@ def template MemExecute {{ DPRINTF(Sparc, "The address is 0x%x\n", EA); %(load)s; %(code)s; - %(store)s; if(fault == NoFault) { + %(store)s; //Write the resulting state to the execution context %(op_wb)s; } -- cgit v1.2.3