From: Luke Kenneth Casson Leighton Date: Tue, 11 Oct 2022 16:08:52 +0000 (+0100) Subject: whoops zero-error on masked-out X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=07618186b6e8fe3827121e1478f30a50850c1f0e;p=openpower-isa.git whoops zero-error on masked-out --- diff --git a/src/openpower/decoder/isa/caller.py b/src/openpower/decoder/isa/caller.py index c260cb01..ecf86de7 100644 --- a/src/openpower/decoder/isa/caller.py +++ b/src/openpower/decoder/isa/caller.py @@ -2122,7 +2122,7 @@ class ISACaller(ISACallerHelper, ISAFPHelpers, StepLoop): log("read reg %d/%d: 0x%x" % (base, offs, reg_val.value)) else: log('zero input reg %s %s' % (name, str(regnum)), is_vec) - reg_val = 0 + reg_val = SelectableInt(0, ew_src) return reg_val def remap_set_steps(self, remaps):