This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]