cygming.h (BIGGEST_ALIGNMENT): Removed.

2008-03-26  H.J. Lu  <hongjiu.lu@intel.com>

	* config/i386/cygming.h (BIGGEST_ALIGNMENT): Removed.

	* config/i386/i386.c (ix86_function_arg_boundary): Check
	BIGGEST_ALIGNMENT instead of 128.
	(setup_incoming_varargs_64): Likewise.

From-SVN: r133605
This commit is contained in:
H.J. Lu 2008-03-26 13:30:18 +00:00 committed by H.J. Lu
parent f91ed78d62
commit 35dd7cc326
3 changed files with 12 additions and 8 deletions

View file

@ -1,3 +1,11 @@
2008-03-26 H.J. Lu <hongjiu.lu@intel.com>
* config/i386/cygming.h (BIGGEST_ALIGNMENT): Removed.
* config/i386/i386.c (ix86_function_arg_boundary): Check
BIGGEST_ALIGNMENT instead of 128.
(setup_incoming_varargs_64): Likewise.
2008-03-26 Tom Tromey <tromey@redhat.com>
* Makefile.in (DEPFILES): Add missing '/'.

View file

@ -327,10 +327,6 @@ do { \
#undef MS_AGGREGATE_RETURN
#define MS_AGGREGATE_RETURN 1
/* No data type wants to be aligned rounder than this. */
#undef BIGGEST_ALIGNMENT
#define BIGGEST_ALIGNMENT 128
/* Biggest alignment supported by the object file format of this
machine. Use this macro to limit the alignment which can be
specified using the `__attribute__ ((aligned (N)))' construct. If

View file

@ -4599,8 +4599,8 @@ ix86_function_arg_boundary (enum machine_mode mode, tree type)
align = PARM_BOUNDARY;
}
}
if (align > 128)
align = 128;
if (align > BIGGEST_ALIGNMENT)
align = BIGGEST_ALIGNMENT;
return align;
}
@ -4997,8 +4997,8 @@ setup_incoming_varargs_64 (CUMULATIVE_ARGS *cum)
We also may end up assuming that only 64bit values are stored in SSE
register let some floating point program work. */
if (ix86_preferred_stack_boundary >= 128)
cfun->stack_alignment_needed = 128;
if (ix86_preferred_stack_boundary >= BIGGEST_ALIGNMENT)
cfun->stack_alignment_needed = BIGGEST_ALIGNMENT;
save_area = frame_pointer_rtx;
set = get_varargs_alias_set ();