svshape.py: disable is_triangle for now since it causes RecursionError
authorJacob Lifshay <programmerjake@gmail.com>
Tue, 9 Jan 2024 08:50:28 +0000 (00:50 -0800)
committerJacob Lifshay <programmerjake@gmail.com>
Tue, 9 Jan 2024 08:52:45 +0000 (00:52 -0800)
src/openpower/decoder/isa/svshape.py

index e6294fba8c6e817aecd48a3c3c1e5afcd1ebdd46..9525b1539f79012e9c1f770a764539fb5ddcfe7c 100644 (file)
@@ -51,6 +51,9 @@ class SVSHAPE(SelectableInt):
 
     def is_triangle(self):
         "REMAP Triangle Mode"
+        return False  # FIXME(lkcl): causes a RecursionError through `skip`
+                      # please don't push a revert without also fixing it:
+                      # https://bugs.libre-soc.org/show_bug.cgi?id=1155#c55
         return self.mode == 0b11 and self.skip in [0b00, 0b01]
 
     @property