selectable_int: fix FSI negate method
authorDmitry Selyutin <ghostmansd@gmail.com>
Sat, 20 Aug 2022 16:57:30 +0000 (19:57 +0300)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Mon, 29 Aug 2022 19:38:52 +0000 (20:38 +0100)
src/openpower/decoder/selectable_int.py

index ce9ad0a4d579f5a0b57bce1cb642330bbe35eb81..d3caac30a59ec241a239421b4a0e78dda66d3d9c 100644 (file)
@@ -111,7 +111,7 @@ class FieldSelectableInt:
                 self.si[k] = value[i]
 
     def __negate__(self):
-        return self._op1(negate)
+        return self._op1(neg)
 
     def __invert__(self):
         return self._op1(inv)