name of cr reg3 was numbered 2
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Tue, 16 Nov 2021 15:13:47 +0000 (15:13 +0000)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Tue, 16 Nov 2021 16:26:33 +0000 (16:26 +0000)
src/openpower/decoder/decode2execute1.py

index efdf441cebd4dfc59cd9b4e1b68e457b5571e519..9020e7e81877b96b58c303a68965cb9b07a0093c 100644 (file)
@@ -127,7 +127,7 @@ class Decode2ToExecute1Type(RecordObject):
 
         self.read_cr1 = Data(7, name="cr_in1")
         self.read_cr2 = Data(7, name="cr_in2")
-        self.read_cr3 = Data(7, name="cr_in2")
+        self.read_cr3 = Data(7, name="cr_in3")
         self.write_cr = Data(7, name="cr_out")
 
         # decode operand data