From 01193ef8371fc26806e27e735b3c65168dac4c51 Mon Sep 17 00:00:00 2001 From: Dmitry Selyutin Date: Tue, 20 Sep 2022 17:14:03 +0300 Subject: [PATCH] pysvp64asm: fix sz handling --- src/openpower/sv/trans/svp64.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/openpower/sv/trans/svp64.py b/src/openpower/sv/trans/svp64.py index 625aedb4..1fa68a3d 100644 --- a/src/openpower/sv/trans/svp64.py +++ b/src/openpower/sv/trans/svp64.py @@ -1261,6 +1261,8 @@ class SVP64Asm: if is_bc: sv_mode = int(svp64_rm.mode[0, 1]) + if src_zero: + svp64_rm.branch.sz = 1 else: ###################################### -- 2.30.2