Hi, Vlad

Why does rs6000_emit_move need special support for SDmode with LRA and
not with reload?  In other words, why is this a specific fix for
rs6000 instead of a general improvement for reload?

SDmode has some bizarre restrictions on PPC, but one of the historical
advantages of GCC was reload's ability to support strange addressing
modes of processors. Why fix this in a target-specific way and then
possibly replicated this in other architectures instead of fixing it
more generally?

Thanks, David


On Thu, Aug 7, 2014 at 5:11 PM, Vladimir Makarov <vmaka...@redhat.com> wrote:
> Hi, Mike.
>
> Here is the patch which solves LRA SDmode problem which we discussed on
> IRC on Friday.
>
> The patch was successfully tested and bootstrapped on ppc64 with -mlra
> switched on.
>
> David, is it ok to commit it to the trunk?
>
> 2014-08-07  Vladimir Makarov  <vmaka...@redhat.com>
>
>         * config/rs6000/rs6000.c (rs6000_emit_move): Use SDmode to
>         load/store from/to non-floating class pseudo.
>

Reply via email to