Commit 35dd7cc3 by H.J. Lu Committed by H.J. Lu

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
parent f91ed78d
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> 2008-03-26 Tom Tromey <tromey@redhat.com>
* Makefile.in (DEPFILES): Add missing '/'. * Makefile.in (DEPFILES): Add missing '/'.
......
...@@ -327,10 +327,6 @@ do { \ ...@@ -327,10 +327,6 @@ do { \
#undef MS_AGGREGATE_RETURN #undef MS_AGGREGATE_RETURN
#define MS_AGGREGATE_RETURN 1 #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 /* Biggest alignment supported by the object file format of this
machine. Use this macro to limit the alignment which can be machine. Use this macro to limit the alignment which can be
specified using the `__attribute__ ((aligned (N)))' construct. If specified using the `__attribute__ ((aligned (N)))' construct. If
......
...@@ -4599,8 +4599,8 @@ ix86_function_arg_boundary (enum machine_mode mode, tree type) ...@@ -4599,8 +4599,8 @@ ix86_function_arg_boundary (enum machine_mode mode, tree type)
align = PARM_BOUNDARY; align = PARM_BOUNDARY;
} }
} }
if (align > 128) if (align > BIGGEST_ALIGNMENT)
align = 128; align = BIGGEST_ALIGNMENT;
return align; return align;
} }
...@@ -4997,8 +4997,8 @@ setup_incoming_varargs_64 (CUMULATIVE_ARGS *cum) ...@@ -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 We also may end up assuming that only 64bit values are stored in SSE
register let some floating point program work. */ register let some floating point program work. */
if (ix86_preferred_stack_boundary >= 128) if (ix86_preferred_stack_boundary >= BIGGEST_ALIGNMENT)
cfun->stack_alignment_needed = 128; cfun->stack_alignment_needed = BIGGEST_ALIGNMENT;
save_area = frame_pointer_rtx; save_area = frame_pointer_rtx;
set = get_varargs_alias_set (); set = get_varargs_alias_set ();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment