On Sun, Nov 17, 2013 at 4:12 PM, Ulrich Weigand <uweig...@de.ibm.com> wrote:
> Hello,
>
> when accessing the sdmode_stack_slot, code in rs6000_emit_move would
> unconditionally use
>         rtx mem = adjust_address_nv (operands[0], mode, 4);
>
> This is wrong in little-endian mode; we always need to access the
> low word there too.
>
> Fixed by the patch below, which fixes a large number of DFP test
> suite failures in little-endian.
>
> Tested on powerpc64-linux and powerpc64le-linux.
>
> OK for mainline?

> ChangeLog:
>
>         * config/rs6000/rs6000.c (rs6000_emit_move): Use low word of
>         sdmode_stack_slot also in little-endian mode.

Okay.

Thanks, David

Reply via email to