From 7a010035d122d6e40b6c3f8df34abd37a2796607 Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Mon, 29 Aug 2022 20:33:14 +0100 Subject: [PATCH] fix test_issuer.py nosvp64 mul, "mullw." was getting XER.SO override into handle_comparison when it should not --- src/openpower/decoder/isa/caller.py | 2 ++ 1 file changed, 2 insertions(+) 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? -- 2.30.2