add TODO comments for BCD test speedup
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Thu, 12 Aug 2021 14:20:34 +0000 (15:20 +0100)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Thu, 12 Aug 2021 14:20:34 +0000 (15:20 +0100)
src/openpower/decoder/isa/test_caller_bcd.py

index 43fd83e3dbbc3023453c296873dac054376b4de0..2cd19d3d2805c4f783a2e0b599cdb1db1858d90a 100644 (file)
@@ -293,6 +293,8 @@ class BCDTestCase(FHDLTestCase):
                            (int(match[0][1]) << 4) |
                            (int(digit) << 0))
                     dpd = int(match[1 + digit], 16)
+                    # TODO: append 32 instructions here
+                    # "cbcdtd %d %d" % (regnum, regnum)
                     lst = ["cbcdtd 0, 1"]
                     initial_regs[1] = bcd
                     with Program(lst, bigendian=False) as program: