This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: [cft] subreg validation patch
> Could everyone please try the following on their favorite platform
> and report back with new failures?
Problematic on the SPARC because of
> + /* Subregs involving floating point modes are not allowed to
> + change size. Therefore (subreg:DI (reg:DF) 0) is fine, but
> + (subreg:SI (reg:DF) 0) isn't. */
> + else if (FLOAT_MODE_P (imode) || FLOAT_MODE_P (omode))
> + {
> + if (isize != osize)
> + return false;
> + }
which breaks all the DFmode->SFmode splitters. Should we now create a double
subreg in this case?
--
Eric Botcazou