From: Luke Kenneth Casson Leighton Date: Mon, 29 Aug 2022 19:33:14 +0000 (+0100) Subject: fix test_issuer.py nosvp64 mul, "mullw." was getting X-Git-Tag: sv_maxu_works-initial~17 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=7a010035d122d6e40b6c3f8df34abd37a2796607;p=openpower-isa.git fix test_issuer.py nosvp64 mul, "mullw." was getting XER.SO override into handle_comparison when it should not --- diff --git a/src/openpower/decoder/isa/caller.py b/src/openpower/decoder/isa/caller.py index 6c6c7422..39e195ca 100644 --- a/src/openpower/decoder/isa/caller.py +++ b/src/openpower/decoder/isa/caller.py @@ -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?