pysvp64asm: update sz upon snz specifier
authorDmitry Selyutin <ghostmansd@gmail.com>
Tue, 20 Sep 2022 10:23:15 +0000 (13:23 +0300)
committerDmitry Selyutin <ghostmansd@gmail.com>
Tue, 20 Sep 2022 10:23:15 +0000 (13:23 +0300)
src/openpower/sv/trans/svp64.py

index da0e8e55e10d32625b8dfe4774255edc2b6127c9..f85bfad988fffd651d7fed6ffc16b09deb7b0c38 100644 (file)
@@ -1137,6 +1137,7 @@ class SVP64Asm:
                 if encmode == 'all':
                     svp64_rm.branch.ALL = 1
                 elif encmode == 'snz':
+                    svp64_rm.branch.sz = 1
                     svp64_rm.branch.SNZ = 1
                 elif encmode == 'sl':
                     svp64_rm.branch.SL = 1