Don't store if there's a fault.

--HG--
extra : convert_revision : fc852bee572b36daab7a34ee1820f856ccd71ca5
This commit is contained in:
Gabe Black
2006-08-29 16:06:27 -04:00
parent df0cbf890a
commit 9231d2235d

View File

@@ -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;
}