comments
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Sat, 29 May 2021 17:19:15 +0000 (18:19 +0100)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Sat, 29 May 2021 17:19:15 +0000 (18:19 +0100)
src/openpower/decoder/power_svp64_rm.py

index 5d5a859de827c78954977fb8ca249338966ad263..90000f07007253d1ad9b6b80d5301e53db5bfbfb 100644 (file)
@@ -93,8 +93,8 @@ class SVP64RMModeDecode(Elaboratable):
 
         self.saturate = Signal(SVP64sat)
         self.RC1 = Signal()
-        self.cr_sel = Signal(2)
-        self.inv = Signal(1)
+        self.cr_sel = Signal(2)  # bit of CR to test (index 0-3)
+        self.inv = Signal(1)     # and whether it's inverted (like branch BO)
         self.map_evm = Signal(1)
         self.map_crm = Signal(1)
         self.ldstmode = Signal(SVP64LDSTmode) # LD/ST Mode (strided type)