[Bug target/29969] should use floating point registers for block copies

amylaar at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Thu Jun 10 19:59:00 GMT 2010



------- Comment #3 from amylaar at gcc dot gnu dot org  2010-06-10 19:58 -------
(In reply to comment #2)
> This could be a disaster if floating point exceptions are enabled, as it would
> trigger an exception whenever some part of the block was an invalid floating
> point number.
> One would at least need to save/restore the floating point exception flags
> around such a block copy.

If that is an issue is target specific.  First, if all floating point loads
detect loading invalid floating point numbers, and sencond, if floating point
exceptions are used for the target in practical terms.
E.G. for the SH4 (at least SH4-100 / SH4-200), you get always a floating
point exception if the exception is enabled and it could happen for any
input data, so it is not very popular to enable it.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29969



More information about the Gcc-bugs mailing list