[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 21:22:56 BST 2023
    
    
  
https://bugs.libre-soc.org/show_bug.cgi?id=1087
--- Comment #15 from Jacob Lifshay <programmerjake at gmail.com> ---
(In reply to Luke Kenneth Casson Leighton from comment #14)
> once all of those instructions
> are modified to follow the exact same pattern
this bug is for modifying all those instructions' pseudocode
> 
> > e.g. fatan2s needs to be changed to something like:
> >
> > result <- DOUBLE(bfp32_ATAN2(SINGLE((FRA)), SINGLE((FRB))))
> > if FPSCR.FEX = 0 then # computed as vex_flag in fcvt*
> >     FRT <- result
> > else
> >     # don't write FRT
> >     # do other trap setup -- TBD
> 
> where i assume by "do other trap setup" you mean "modify FPSCR flags
> just like in the other locations"?
yes, basically.
-- 
You are receiving this mail because:
You are on the CC list for the bug.
    
    
More information about the Libre-SOC-ISA
mailing list