Re: [PATCH, rs6000] Fix little-endian access to sdmode_stack_slot

2013-11-17 Thread David Edelsohn
On Sun, Nov 17, 2013 at 4:12 PM, Ulrich Weigand 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 w

[PATCH, rs6000] Fix little-endian access to sdmode_stack_slot

2013-11-17 Thread Ulrich Weigand
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 o