set XLEN=64 in ISACaller
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Sat, 21 Aug 2021 11:52:13 +0000 (12:52 +0100)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Sat, 21 Aug 2021 11:52:13 +0000 (12:52 +0100)
src/openpower/decoder/isa/caller.py

index 9bbef83afdf84d9ae71b2e438506d9668dc814c3..8e7a0e0650eaa9e24ead9c6f5411e505acd68c73 100644 (file)
@@ -682,7 +682,8 @@ class ISACaller:
                                'MSR': self.msr,
                                'undefined': undefined,
                                'mode_is_64bit': True,
-                               'SO': XER_bits['SO']
+                               'SO': XER_bits['SO'],
+                               'XLEN': 64  # elwidth overrides, later
                                })
 
         # update pc to requested start point