From: Luke Kenneth Casson Leighton Date: Wed, 1 Dec 2021 18:03:02 +0000 (+0000) Subject: fix expected state in hazard case_regression_1 X-Git-Tag: sv_maxu_works-initial~680 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b5b5ae5dc0de321ef7d5a4ec03404305824227f2;p=openpower-isa.git fix expected state in hazard case_regression_1 --- diff --git a/src/openpower/test/general/overlap_hazards.py b/src/openpower/test/general/overlap_hazards.py index 50f54fe6..035b8cbc 100644 --- a/src/openpower/test/general/overlap_hazards.py +++ b/src/openpower/test/general/overlap_hazards.py @@ -169,12 +169,11 @@ class HazardTestCase(TestAccumulatorBase): initial_regs[2] = 2 initial_regs[6] = 2 initial_regs[7] = 4 - e = ExpectedState(pc=20) + e = ExpectedState(pc=12) e.intregs[1] = 8 e.intregs[2] = 2 - e.intregs[3] = 4 # 8 divided by 2 == 4 e.intregs[4] = 5 # 10 divided by 2 == 5 - e.intregs[5] = 9 # 4 plus 5 == 9 + e.intregs[5] = 8 # 4 times 2 == 8 e.intregs[6] = 2 e.intregs[7] = 4 e.intregs[9] = 10 # 8+2 == 10