add bc_ctr and bc_cti but not used yet
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Mon, 19 Sep 2022 21:00:15 +0000 (22:00 +0100)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Mon, 19 Sep 2022 21:00:15 +0000 (22:00 +0100)
src/openpower/sv/trans/svp64.py

index 40fdc0effdd09b540f97d54e3372eff475a62bad..5fab53d10c3667f07c68ddd6176ae506d7ce5dc4 100644 (file)
@@ -1146,11 +1146,11 @@ class SVP64Asm:
             elif is_bc:
                 if encmode == 'all':
                     bc_all = 1
-                elif encmode == 'st':  # svstep mode
-                    bc_step = 1
-                elif encmode == 'sr':  # svstep BRc mode
-                    bc_step = 1
-                    bc_brc = 1
+                elif encmode == 'ctr':  # ctr-test mode
+                    bc_ctr = 1
+                elif encmode == 'cti':  # ctr-test with inclusive mode
+                    bc_ctr = 1
+                    bc_cti = 1
                 elif encmode == 'vs':  # VLSET mode
                     bc_vlset = 1
                 elif encmode == 'vsi':  # VLSET mode with VLI (VL inclusives)