From: Luke Kenneth Casson Leighton Date: Wed, 8 Dec 2021 18:56:51 +0000 (+0000) Subject: whitespace X-Git-Tag: sv_maxu_works-initial~650 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c270fe2b559fc421b4bc976aaf8a3cc5d72f8daa;p=openpower-isa.git whitespace --- diff --git a/src/openpower/decoder/power_decoder2.py b/src/openpower/decoder/power_decoder2.py index 44b1bf7d..0604786b 100644 --- a/src/openpower/decoder/power_decoder2.py +++ b/src/openpower/decoder/power_decoder2.py @@ -1373,7 +1373,8 @@ class PowerDecode2(PowerDecodeSubset): # TODO add SPRs here. must be True when *all* are scalar l = map(lambda svdec: svdec.isvec, [in1_svdec, in2_svdec, in3_svdec, - crin_svdec, crin_svdec_b, crin_svdec_o]) + crin_svdec, crin_svdec_b, + crin_svdec_o]) comb += self.no_in_vec.eq(~Cat(*l).bool()) # all input scalar l = map(lambda svdec: svdec.isvec, [ o2_svdec, o_svdec, crout_svdec]) @@ -1501,6 +1502,10 @@ class PowerDecode2(PowerDecodeSubset): comb += priv_ok.eq(is_priv_insn & msr[MSR.PR]) comb += illeg_ok.eq(op.internal_op == MicrOp.OP_ILLEGAL) + # absolute top priority: check for an instruction failed + #with m.If(self.instr_): + # e = self.e + # comb += e.eq(0) # reset eeeeeverything # LD/ST exceptions. TestIssuer copies the exception info at us # after a failed LD/ST. with m.If(ldst_exc.happened):