sv_binutils: consider RA0 operand
authorDmitry Selyutin <ghostmansd@gmail.com>
Wed, 1 Jun 2022 19:56:13 +0000 (19:56 +0000)
committerDmitry Selyutin <ghostmansd@gmail.com>
Wed, 1 Jun 2022 19:56:13 +0000 (19:56 +0000)
src/openpower/sv/sv_binutils.py

index 83b50512f4c037a51f5ad29313ecd35136076b9c..209d9de5981dfa89d586d64c9f4aedaaf5f59df5 100644 (file)
@@ -557,7 +557,7 @@ class Codegen(_enum.Enum):
 
             yield from opindex(In1Sel, "in1", {
                 In1Sel.RA: "RA",
-                In1Sel.RA_OR_ZERO: "RA",
+                In1Sel.RA_OR_ZERO: "RA0",
                 In1Sel.SPR: "SPR",
                 In1Sel.RS: "RS",
                 In1Sel.FRA: "FRA",