From aa1fd1f950a7685c99fb26ff886a30e844078d30 Mon Sep 17 00:00:00 2001 From: Dmitry Selyutin Date: Tue, 17 Aug 2021 19:03:15 +0000 Subject: [PATCH] test_caller_bcd: drop temporary code --- src/openpower/decoder/isa/test_caller_bcd.py | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/src/openpower/decoder/isa/test_caller_bcd.py b/src/openpower/decoder/isa/test_caller_bcd.py index f69a5098..2b3b47c3 100644 --- a/src/openpower/decoder/isa/test_caller_bcd.py +++ b/src/openpower/decoder/isa/test_caller_bcd.py @@ -289,7 +289,6 @@ class BCDTestCase(FHDLTestCase): self.assertEqual(sim.gpr(gpr), SelectableInt(oregs[gpr], 64)) - @unittest.skip("") def test_cdtbcd(self): mapping = {} for match in DPD_TO_BCD_REGEX.findall(DPD_TO_BCD_TABLE): @@ -301,7 +300,6 @@ class BCDTestCase(FHDLTestCase): mapping[dpd] = bcd self.run_tst("cdtbcd", mapping) - @unittest.skip("") def test_cbcdtd(self): mapping = {} for match in BCD_TO_DPD_REGEX.findall(BCD_TO_DPD_TABLE): @@ -313,14 +311,6 @@ class BCDTestCase(FHDLTestCase): mapping[bcd] = dpd self.run_tst("cbcdtd", mapping) - def test_400(self): - iregs = [0] * 32 - iregs[0] = 0x400 - lst = ["cbcdtd 0, 0"] - with Program(lst, bigendian=False) as program: - sim = self.run_tst_program(program, iregs) - self.assertEqual(sim.gpr(0), SelectableInt(0x200, 64)) - def run_tst_program(self, prog, initial_regs=[0] * 32): simulator = run_tst(prog, initial_regs, pdecode2=self.pdecode2) simulator.gpr.dump() -- 2.30.2