Hi!

On Fri, Jan 26, 2018 at 01:25:51PM +0000, Richard Sandiford wrote:
>         if (SCALAR_INT_MODE_P (inmode))
>           new_out_reg = gen_lowpart_SUBREG (outmode, reg);
>         else
> -         new_out_reg = gen_rtx_SUBREG (outmode, reg, 0);
> +         {
> +           poly_uint64 offset = subreg_lowpart_offset (outmode, inmode);
> +           new_out_reg = gen_rtx_SUBREG (outmode, reg, offset);
> +         }

Is this now not exactly the same as the SCALAR_INT_MODE_P case?  The mode
of "reg" is inmode, after all?


Segher

Reply via email to