[Libre-soc-isa] [Bug 1087] change pseudocode to prevent output register write only when causing a fp trap and output is in same regfile as input

bugzilla-daemon at libre-soc.org bugzilla-daemon at libre-soc.org
Wed May 24 10:56:24 BST 2023


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

--- Comment #24 from Luke Kenneth Casson Leighton <lkcl at lkcl.net> ---
wait... are you saying that, at the moment, a zero is written into
the regfile when a TRAP is called?

are you then saying "that is bad"?  because if so don't believe it is:
compilers have to expect that register contents to be (statically)
allocated regardless of the exception.

IBM declares the result register "UNDEFINED" under these circumstances

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


More information about the Libre-SOC-ISA mailing list