Re: [PATCH, rs6000] Fix order of TDmode in FPRs in little-endian mode

2013-11-20 Thread Ulrich Weigand
David Edelsohn wrote: > On Mon, Nov 18, 2013 at 3:07 PM, Ulrich Weigand wrote: > > Also note that this patch does not change how TDmode values are loaded > > into GPRs: on little-endian, this means we do get the usual LE subreg > > order there (least significant word in lowest-numbered register).

Re: [PATCH, rs6000] Fix order of TDmode in FPRs in little-endian mode

2013-11-20 Thread David Edelsohn
On Mon, Nov 18, 2013 at 3:07 PM, Ulrich Weigand wrote: > Also note that this patch does not change how TDmode values are loaded > into GPRs: on little-endian, this means we do get the usual LE subreg > order there (least significant word in lowest-numbered register). This > does still seem the

[PATCH, rs6000] Fix order of TDmode in FPRs in little-endian mode

2013-11-18 Thread Ulrich Weigand
Hello, when loading a TDmode value into floating-point registers, they need to go into a register pair with the even register holding the most significant word and the odd register holding the least significant word, because this is what the instruction set expects. This hold for both big-endian