[Libre-soc-isa] [Bug 1087] change ISACaller and correct bug introduced in parser.py where it bypasses FPSCR as a local parameter and a return result

bugzilla-daemon at libre-soc.org bugzilla-daemon at libre-soc.org
Sun May 21 12:31:23 BST 2023


https://bugs.libre-soc.org/show_bug.cgi?id=1087

--- Comment #7 from Luke Kenneth Casson Leighton <lkcl at lkcl.net> ---
(In reply to Luke Kenneth Casson Leighton from comment #4)
> > change pseudocode to prevent output register write only when 
> > causing a fp trap and output is in same regfile as input
> 
> whatever you do, do *not* do this.  i will change the bugreport
> to the correct (required) action.

so the bugreport is invalid (but should not be closed as such
until it has been understood why).

to "effect" a "no change", the variable that requires "not to be changed"
must:

1) be passed in as an INPUT parameter
2) not be modified by the pseudocode
3) be passed OUT as a return result.

the "no change" is achieved by simply not making any modifications to the
local variable (parameter)

the return result **WILL** get written (caveats: VLi=0) but the contents
will **HAPPEN** to be indentical... resulting in "the appearance of no
change having taken place"

CPU efficiency of the Simulator is *not* a high priority here.

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


More information about the Libre-SOC-ISA mailing list