From: Luke Kenneth Casson Leighton Date: Thu, 24 Jun 2021 11:47:45 +0000 (+0100) Subject: add comment about perfcounters X-Git-Tag: xlen-bcd~398 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=363140bf6b6a8de6decc9a624570ec60687bfcb0;p=openpower-isa.git add comment about perfcounters --- diff --git a/src/openpower/decoder/power_decoder2.py b/src/openpower/decoder/power_decoder2.py index 2b09a35c..81279ca5 100644 --- a/src/openpower/decoder/power_decoder2.py +++ b/src/openpower/decoder/power_decoder2.py @@ -1423,7 +1423,8 @@ class PowerDecode2(PowerDecodeSubset): comb += e_out.read_fast3.data.eq(FastRegsEnum.SVSRR0) # SVSRR0 comb += e_out.read_fast3.ok.eq(1) - # annoying simulator bug + # annoying simulator bug. + # asmcode may end up getting used for perfcounters? asmcode = self.op_get("asmcode") if hasattr(e_out, "asmcode") and asmcode is not None: comb += e_out.asmcode.eq(asmcode)