fix test_issuer.py nosvp64 mul, "mullw." was getting
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Mon, 29 Aug 2022 19:33:14 +0000 (20:33 +0100)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Mon, 29 Aug 2022 19:38:52 +0000 (20:38 +0100)
XER.SO override into handle_comparison when it should not

src/openpower/decoder/isa/caller.py

index 6c6c74221979e546ffa5a472f6e545c39b68b37a..39e195ca7906f1f44dd602523e2d5a35b6cc38f3 100644 (file)
@@ -1388,6 +1388,8 @@ class ISACaller(ISACallerHelper, ISAFPHelpers):
             if is_setvl:
                 vl = results[0].vl
                 cmps = (SelectableInt(vl, 64), overflow,)
+            else:
+                overflow = None # do not override overflow except in setvl
             self.handle_comparison(cmps, regnum, overflow, no_so=is_setvl)
 
         # any modified return results?