From 0bd06bacb6aef5461db2d97e3e9a6d0315e9526d Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Sun, 21 May 2023 12:01:45 +0100 Subject: [PATCH] FPSCR should never have been added to "bypass" the incoming local parameter or its return result --- src/openpower/decoder/pseudo/parser.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/openpower/decoder/pseudo/parser.py b/src/openpower/decoder/pseudo/parser.py index 75af3202..a8ab32cb 100644 --- a/src/openpower/decoder/pseudo/parser.py +++ b/src/openpower/decoder/pseudo/parser.py @@ -672,7 +672,7 @@ class PowerParser: 'SVSHAPE0', 'SVSHAPE1', 'SVSHAPE2', 'SVSHAPE3']: self.special_regs.add(name) self.write_regs.add(name) # and add to list to write - if name in ('XLEN', 'FPSCR') or name in BFP_FLAG_NAMES: + if name in ('XLEN', ) or name in BFP_FLAG_NAMES: attr = ast.Name("self", ast.Load()) p[0] = ast.Attribute(attr, name, ast.Load(), lineno=p.lineno(1)) else: -- 2.30.2