From: Luke Kenneth Casson Leighton Date: Sat, 18 Sep 2021 15:04:33 +0000 (+0100) Subject: always store full memory state (including zeros) X-Git-Tag: DRAFT_SVP64_0_1~3 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=7ab01f5814f30fa5ab2a1b48cf49818e428b05a6;p=openpower-isa.git always store full memory state (including zeros) --- diff --git a/src/openpower/test/state.py b/src/openpower/test/state.py index 853da604..4d904e9d 100644 --- a/src/openpower/test/state.py +++ b/src/openpower/test/state.py @@ -124,8 +124,7 @@ class SimState(State): keys = list(self.sim.mem.mem.keys()) self.mem = [] for k in keys: - if self.sim.mem.mem[k] !=0: # Don't store potential 0 for compare - self.mem.append(((k*8), self.sim.mem.mem[k])) + self.mem.append(((k*8), self.sim.mem.mem[k])) class ExpectedState(State):