add ASCII art example to int predicated SVP64
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Wed, 23 Jun 2021 16:21:05 +0000 (17:21 +0100)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Wed, 23 Jun 2021 16:21:05 +0000 (17:21 +0100)
src/openpower/decoder/isa/test_caller_svp64_predication.py

index 839b8a99f8a6b6fd0acf1c21a1b8c237c59cb4be..d96ed2cde2230d1c2e5f892025b25c685ce13284 100644 (file)
@@ -120,6 +120,13 @@ class DecoderTestCase(FHDLTestCase):
         # adds, integer predicated mask r3=0b10
         #       1 = 5 + 9   => not to be touched (skipped)
         #       2 = 6 + 10  => 0x3334 = 0x2223+0x1111
+        #   reg num        0 1 2 3 4 5 6 7 8 9 10 11
+        #   src r3=0b10              N Y     N Y
+        #                            | |     | |
+        #                    +-------+ | add + |
+        #                    | +-------+ add --+
+        #                    | |
+        #   dest r3=0b10     N Y
         isa = SVP64Asm(['sv.add/m=r3 1.v, 5.v, 9.v'
                        ])
         lst = list(isa)