From: Luke Kenneth Casson Leighton Date: Sun, 28 Jan 2024 20:45:14 +0000 (+0000) Subject: whoops X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=48939dd292abf29782f3dd857329bb566a925d2c;p=openpower-isa.git whoops --- diff --git a/src/openpower/insndb/core.py b/src/openpower/insndb/core.py index 8a398c9f..de8abf7e 100644 --- a/src/openpower/insndb/core.py +++ b/src/openpower/insndb/core.py @@ -287,8 +287,7 @@ class PPCRecord(Dataclass): record["cr_in"] = "BA" record["cr_in2"] = "BB" del record["CR in"] - - if record["CR in"] == "BA_BFB": + elif record["CR in"] == "BA_BFB": record["cr_in"] = "BA" record["cr_in2"] = "BFB" del record["CR in"] @@ -401,7 +400,7 @@ class SVP64Record(Dataclass): record["cr_in2"] = "BFB" #record["cr_out"] = "BF" # only use BFA_BFB_BF when BF is a dest del record["CR in"] - if record["CR in"] == "BA_BFB": # maaamma miiiia... enough! + elif record["CR in"] == "BA_BFB": # maaamma miiiia... enough! record["cr_in"] = "BA" record["cr_in2"] = "BFB" del record["CR in"]