This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: floor on i386
> > Major problem still remains in reload.
> > If we don't want to get exact IEEE by setting proper precisity before each
> > mathematic operation (as SH4 does IMO), we will run into problems with spills ,
> > since these can be put in place control word is set to some wrong value
> > resutlting in wrong rounding before storing.
>
> If spills spilled the extended precision value, which is needed
> anyway for proper IEEE conformance, this wouldn't be an issue.
Yes, but it is big performance problem when done, at least for AMD CPUs, where
XFmode spills cost a lot more than DF/or SFmode, so it should not be enabled unconditionally.
(I was trying to implement this idea in the past and it appears to be quite dificult to do
too :( )
Honza
>
> Brad