This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: PING: PATCH: PR target/37049: Unaligned move used on aligned destination of push insn


On Wed, Aug 13, 2008 at 6:25 AM, H.J. Lu <hjl.tools@gmail.com> wrote:
> On Mon, Aug 04, 2008 at 06:37:32AM -0700, H.J. Lu wrote:
>> When we expnd push to put a value on stack, the alignment of
>> destination should be at least aligned to function argument
>> boundary.  Otherwise, unaligned move will be used.  Tested on
>> Linux/ia32 and Linux/Intel64.  OK for trunk?
>>
>
> OK for trunk?
>
> Thanks.
>
>
> H.J.
> ----
> gcc/
>
> 2008-08-03  H.J. Lu  <hongjiu.lu@intel.com>
>
>        PR target/37049
>        * config/i386/i386.c (ix86_expand_push): Set memory alignment
>        to function argument boundary.
>
> gcc/testsuite/
>
> 2008-08-03  H.J. Lu  <hongjiu.lu@intel.com>
>
>        PR target/37049
>        * gcc.target/i386/push-1.c: New.
>

PING.

-- 
H.J.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]