[Libre-soc-bugs] [Bug 1066] fix bug where pseudo-code assignments modify more than just the variable being assigned to

bugzilla-daemon at libre-soc.org bugzilla-daemon at libre-soc.org
Tue Apr 25 08:39:17 BST 2023


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

           What    |Removed                     |Added
             Status|RESOLVED                    |IN_PROGRESS
                 CC|                            |lkcl at lkcl.net
         Resolution|FIXED                       |---

--- Comment #1 from Luke Kenneth Casson Leighton <lkcl at lkcl.net> ---
(In reply to Jacob Lifshay from comment #0)

> before this fix, that pseudo-code undesirably modified the value in the GPR!

that's why temporary variables are always used, with bit-ranges on
them, so that the RHS becomes inherently a copy.

   a <- RA[0:XLEN-1]

can you please confirm that before committing this change you ran
the *entire* test suite?

You are receiving this mail because:
You are on the CC list for the bug.

More information about the libre-soc-bugs mailing list