From f4a1a7d80b7f00ad635bb816ec9c277be04b250b Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Mon, 24 May 2021 11:48:23 +0100 Subject: [PATCH] sigh, initialise FPRs to zeros to engage FP decode --- src/openpower/decoder/isa/pypowersim.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/openpower/decoder/isa/pypowersim.py b/src/openpower/decoder/isa/pypowersim.py index 83831a66..f1577eb7 100644 --- a/src/openpower/decoder/isa/pypowersim.py +++ b/src/openpower/decoder/isa/pypowersim.py @@ -145,8 +145,8 @@ def help(): def run_simulation(): binaryname = None - initial_regs = None - initial_fprs = None + initial_regs = [0]*32 + initial_fprs = [0]*32 initial_sprs = None initial_mem = {} lst = None -- 2.30.2