From: Dmitry Selyutin Date: Tue, 20 Sep 2022 14:14:03 +0000 (+0300) Subject: pysvp64asm: fix sz handling X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=01193ef8371fc26806e27e735b3c65168dac4c51;p=openpower-isa.git pysvp64asm: fix sz handling --- 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: ######################################