From 8974a8f5fcf0c4c15f8d18e1942ab8fe9ef7db19 Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Thu, 12 Aug 2021 15:20:34 +0100 Subject: [PATCH] add TODO comments for BCD test speedup --- src/openpower/decoder/isa/test_caller_bcd.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/openpower/decoder/isa/test_caller_bcd.py b/src/openpower/decoder/isa/test_caller_bcd.py index 43fd83e3..2cd19d3d 100644 --- a/src/openpower/decoder/isa/test_caller_bcd.py +++ b/src/openpower/decoder/isa/test_caller_bcd.py @@ -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: -- 2.30.2