From 3da6755d295660322e380c80cbeec56a085ae77c Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Wed, 24 Nov 2021 23:12:00 +0000 Subject: [PATCH] corrections to hazard overlap test --- src/openpower/test/general/overlap_hazards.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/openpower/test/general/overlap_hazards.py b/src/openpower/test/general/overlap_hazards.py index 76dc468e..238d4e91 100644 --- a/src/openpower/test/general/overlap_hazards.py +++ b/src/openpower/test/general/overlap_hazards.py @@ -89,11 +89,10 @@ class HazardTestCase(TestAccumulatorBase): def case_add_self_overlap_1(self): lst = ["addi 5, 5, 2", # r5 = 8+2 r5=10 - "divd 4, 5, 6", # r4 = 10//2 r4=5 - "add 5, 3, 4"] # r5 = 4+5 r5=9 + ] initial_regs = [0] * 32 initial_regs[5] = 8 - e = ExpectedState(pc=20) + e = ExpectedState(pc=4) e.intregs[5] = 10 # 8 plus immediate of 2 = 10 self.add_case(Program(lst, bigendian), initial_regs, expected=e) -- 2.30.2