FPSCR should never have been added to "bypass" the incoming
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Sun, 21 May 2023 11:01:45 +0000 (12:01 +0100)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Fri, 2 Jun 2023 18:51:18 +0000 (19:51 +0100)
local parameter or its return result

src/openpower/decoder/pseudo/parser.py

index 75af320276d3418d57d4cb22b7775a52c73a28bc..a8ab32cbe8d2e06e84ed72fb0329d8b57020c682 100644 (file)
@@ -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: