From fd333d4bf56cee957d28de0aa6e3c6e935d5ec99 Mon Sep 17 00:00:00 2001 From: lkcl Date: Tue, 6 Jun 2023 21:28:52 +0100 Subject: [PATCH] --- openpower/sv/po9_encoding/discussion.mdwn | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/openpower/sv/po9_encoding/discussion.mdwn b/openpower/sv/po9_encoding/discussion.mdwn index ca187c6c8..681be3442 100644 --- a/openpower/sv/po9_encoding/discussion.mdwn +++ b/openpower/sv/po9_encoding/discussion.mdwn @@ -16,12 +16,11 @@ Length detection: ``` - if PO1 return 64 - if not PO9 return 32 - if Word[31] = 1 return 64 - if Word[29:31] = 0b100 return 32 - if Word[29:31] = 0b000 return 64 - - return 32 + if PO1 return 64 + elif not PO9 return 32 + elif Word[31] = 1 return 64 + elif Word[29:31] = 0b100 return 32 + elif Word[29:31] = 0b000 return 64 + else return 32 ``` -- 2.30.2