This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: PING: PATCH: PR target/37049: Unaligned move used on aligned destination of push insn
- From: "H.J. Lu" <hjl dot tools at gmail dot com>
- To: gcc-patches at gcc dot gnu dot org
- Cc: ubizjak at gmail dot com, Jan Hubicka <jh at suse dot cz>
- Date: Mon, 16 Feb 2009 11:59:00 -0800
- Subject: Re: PING: PATCH: PR target/37049: Unaligned move used on aligned destination of push insn
- References: <20080804133732.GA18891@lucon.org> <20080813142541.GA19655@lucon.org>
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.