add comment about perfcounters
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Thu, 24 Jun 2021 11:47:45 +0000 (12:47 +0100)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Thu, 24 Jun 2021 11:47:45 +0000 (12:47 +0100)
src/openpower/decoder/power_decoder2.py

index 2b09a35c45711df92c28440b3f5ee889258f7af2..81279ca5ec6918400f2b03848b520ebedd36dd24 100644 (file)
@@ -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)