This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Don't use pushw on i?86
- From: Richard Henderson <rth at redhat dot com>
- To: Jakub Jelinek <jakub at redhat dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Mon, 12 Dec 2005 11:31:26 -0800
- Subject: Re: [PATCH] Don't use pushw on i?86
- References: <20051212141044.GC31785@devserv.devel.redhat.com>
On Mon, Dec 12, 2005 at 09:10:44AM -0500, Jakub Jelinek wrote:
> PR debug/25023
> PR target/25293
> * expr.c (emit_move_resolve_push): Handle PRE_MODIFY
> and POST_MODIFY with CONST_INT adjustment equal to PUSH_ROUNDING.
> Fix POST_INC/POST_DEC handling if PUSH_ROUNDING is not identity.
> * config/i386/i386.md (pushhi2, pushqi2): Use pushl instead of pushw.
> Set mode to SI, adjust constraints.
> (pushhi2_rex64, pushqi2_rex64): Set mode to DI.
> * config/i386/i386.h (PUSH_ROUNDING): Round up to 4 instead of 2 for
> 32-bit code.
> * gcc.target/i386/pr25293.c: New test.
Ok.
r~