On 07/13/2011 07:39 AM, H.J. Lu wrote: >> * config/i386/i386.c (x86_output_mi_thunk): Support ptr_mode >> != Pmode. >> >> * config/i386/i386.md (*addsi_1_zext): Renamed to ... >> (addsi_1_zext): This.
Ok, except, >> + if (Pmode == DImode && ptr_mode == SImode) if (Pmode != ptr_mode) in two locations. >> + this_mem = gen_rtx_ZERO_EXTEND (DImode, this_mem); Pmode >> + gen_rtx_REG (SImode, REGNO (this_reg)), ptr_mode. r~