From: Jacob Lifshay Date: Wed, 27 Sep 2023 04:39:31 +0000 (-0700) Subject: log writing CA[32]/OV[32] for OP_ADD X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=524dca355836067e687e389d7c19e4c1dd04b79e;p=openpower-isa.git log writing CA[32]/OV[32] for OP_ADD --- diff --git a/src/openpower/decoder/isa/caller.py b/src/openpower/decoder/isa/caller.py index eaf0af47..c070337b 100644 --- a/src/openpower/decoder/isa/caller.py +++ b/src/openpower/decoder/isa/caller.py @@ -1535,10 +1535,14 @@ class ISACaller(ISACallerHelper, ISAFPHelpers, StepLoop): # TODO: if 32-bit mode, set ov to ov32 self.spr['XER'][XER_bits['OV']] = ov self.spr['XER'][XER_bits['OV32']] = ov32 + log(f"write OV/OV32 OV={ov} OV32={ov32}", + kind=LogKind.InstrInOuts) else: # TODO: if 32-bit mode, set ca to ca32 self.spr['XER'][XER_bits['CA']] = ca self.spr['XER'][XER_bits['CA32']] = ca32 + log(f"write CA/CA32 CA={ca} CA32={ca32}", + kind=LogKind.InstrInOuts) return inv_a = yield self.dec2.e.do.invert_in if inv_a: