From 48939dd292abf29782f3dd857329bb566a925d2c Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Sun, 28 Jan 2024 20:45:14 +0000 Subject: [PATCH] whoops --- src/openpower/insndb/core.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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"] -- 2.30.2