From: Luke Kenneth Casson Leighton Date: Thu, 16 Sep 2021 23:07:28 +0000 (+0100) Subject: whoops must check crregs being int, not int_regs X-Git-Tag: DRAFT_SVP64_0_1~9 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ae78d75c974edf687b692489893d7d4125daf4d1;p=openpower-isa.git whoops must check crregs being int, not int_regs --- diff --git a/src/openpower/test/state.py b/src/openpower/test/state.py index 10248e7d..aa3aa81f 100644 --- a/src/openpower/test/state.py +++ b/src/openpower/test/state.py @@ -122,7 +122,7 @@ class ExpectedState(State): self.pc = pc if crregs is None: crregs = 8 - if isinstance(int_regs, int): + if isinstance(crregs, int): crregs = [0] * crregs self.crregs = crregs self.so = so