From 09baeded9726414aa79cf01da5dd8b71984dd5b4 Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Mon, 24 Jan 2022 21:10:31 +0000 Subject: [PATCH] add extra bc regression test --- src/openpower/test/branch/branch_cases.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/openpower/test/branch/branch_cases.py b/src/openpower/test/branch/branch_cases.py index dac8023e..0ab7d011 100644 --- a/src/openpower/test/branch/branch_cases.py +++ b/src/openpower/test/branch/branch_cases.py @@ -16,6 +16,11 @@ class BranchTestCase(TestAccumulatorBase): initial_regs = [0] * 32 self.add_case(Program(lst, bigendian), initial_regs) + def case_1_regression_negbranch(self): + lst = [f"bl -3377317"] + initial_regs = [0] * 32 + self.add_case(Program(lst, bigendian), initial_regs) + def case_unconditional(self): choices = ["b", "ba", "bl", "bla"] for i in range(20): -- 2.30.2