Re: [PATCH 10/10] addr32: Add *zero_extendsidi2_x32.

2012-03-07 Thread Uros Bizjak
On Tue, Mar 6, 2012 at 8:44 PM, H.J. Lu wrote: >>> This is the last patch for Pmode == SImod in x32. In x32, the return value >>> of the symbol address must be zero-extended to DImode, This patch adds >>> *zero_extendsidi2_x32 to load the address of a symbol in SImode and >>> zero-extend it to DI

Re: [PATCH 10/10] addr32: Add *zero_extendsidi2_x32.

2012-03-06 Thread H.J. Lu
On Mon, Mar 5, 2012 at 1:38 AM, Uros Bizjak wrote: > On Fri, Mar 2, 2012 at 10:14 PM, H.J. Lu wrote: > >> This is the last patch for Pmode == SImod in x32. In x32, the return value >> of the symbol address must be zero-extended to DImode, This patch adds >> *zero_extendsidi2_x32 to load the addre

Re: [PATCH 10/10] addr32: Add *zero_extendsidi2_x32.

2012-03-05 Thread Uros Bizjak
On Fri, Mar 2, 2012 at 10:14 PM, H.J. Lu wrote: > This is the last patch for Pmode == SImod in x32. In x32, the return value > of the symbol address must be zero-extended to DImode, This patch adds > *zero_extendsidi2_x32 to load the address of a symbol in SImode and > zero-extend it to DImode. I

[PATCH 10/10] addr32: Add *zero_extendsidi2_x32.

2012-03-02 Thread H.J. Lu
Hi, This is the last patch for Pmode == SImod in x32. In x32, the return value of the symbol address must be zero-extended to DImode, This patch adds *zero_extendsidi2_x32 to load the address of a symbol in SImode and zero-extend it to DImode. It works for x32 since the address size is 32bit. OK f