From: Luke Kenneth Casson Leighton Date: Mon, 24 Jan 2022 21:10:31 +0000 (+0000) Subject: add extra bc regression test X-Git-Tag: sv_maxu_works-initial~537 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=09baeded9726414aa79cf01da5dd8b71984dd5b4;p=openpower-isa.git add extra bc regression test --- 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):