yep disable OE for MULH64/32 and EXTS and CNTZ
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Sat, 29 Aug 2020 16:18:10 +0000 (17:18 +0100)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Sat, 29 Aug 2020 16:18:10 +0000 (17:18 +0100)
src/soc/decoder/power_decoder2.py

index b16a30d068ef63127685d8404a8f687ed32a076c..f838a7426e6d838ecb28f52f02dfc50dd1a67874 100644 (file)
@@ -454,7 +454,8 @@ class DecodeOE(Elaboratable):
             # also rotate
             # XXX ARGH! ignoring OE causes incompatibility with microwatt
             # http://lists.libre-soc.org/pipermail/libre-soc-dev/2020-August/000302.html
-            with m.Case(#MicrOp.OP_MUL_H64, MicrOp.OP_MUL_H32,
+            with m.Case(MicrOp.OP_MUL_H64, MicrOp.OP_MUL_H32,
+                        MicrOp.OP_EXTS, MicrOp.OP_CNTZ,
                         MicrOp.OP_SHL, MicrOp.OP_SHR, MicrOp.OP_RLC,
                         MicrOp.OP_RLCL, MicrOp.OP_RLCR,
                         MicrOp.OP_EXTSWSLI):