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: [PATCH] Don't use pushw on i?86


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~


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