add bug reference to mtocrf/mtcrf name decoding
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Wed, 17 Jun 2020 19:43:08 +0000 (20:43 +0100)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Wed, 17 Jun 2020 19:43:08 +0000 (20:43 +0100)
src/soc/decoder/isa/caller.py

index 7ca27b10cf89c0a08ae642e20b34c4cb7c232487..8b40a1c821538819eb0a232c8d580f90ad6879a5 100644 (file)
@@ -453,7 +453,8 @@ class ISACaller:
                 asmop = 'mfocrf'
             else:
                 asmop = 'mfcr'
-        # for whatever weird reason this doesn't work
+        # XXX TODO: for whatever weird reason this doesn't work
+        # https://bugs.libre-soc.org/show_bug.cgi?id=390
         if int_op == InternalOp.OP_MTCRF.value:
             dec_insn = yield self.dec2.e.insn
             print ("mtcrf", bin(dec_insn), (dec_insn & (1<<20)))