[Libre-soc-bugs] [Bug 1098] Fix instructions which have extra conflicts

bugzilla-daemon at libre-soc.org bugzilla-daemon at libre-soc.org
Sat Jun 3 19:19:36 BST 2023


Luke Kenneth Casson Leighton <lkcl at lkcl.net> changed:

           What    |Removed                     |Added
             Status|CONFIRMED                   |RESOLVED
         Resolution|---                         |FIXED
             Blocks|                            |1093

--- Comment #4 from Luke Kenneth Casson Leighton <lkcl at lkcl.net> ---
i found it.

* "in1/in2/in3/CR in" are all (implicitly) of type SelType.SRC
* "out/out2/CR out" are all SelType.DST

despite the register RA sometimes being both.  i added this:

             for (reg, seltype, idx) in extra(reg.alias):
+                if keytype != seltype: # only check SRC-to-SRC and DST-to-DST
+                    continue

and the problem goes away


Referenced Bugs:

[Bug 1093] Fix "GPR-or-zero" in binutils and openpower-isa
You are receiving this mail because:
You are on the CC list for the bug.

More information about the libre-soc-bugs mailing list