cygming.h (BIGGEST_ALIGNMENT): Removed.
authorH.J. Lu <hongjiu.lu@intel.com>
Wed, 26 Mar 2008 13:30:18 +0000 (13:30 +0000)
committerH.J. Lu <hjl@gcc.gnu.org>
Wed, 26 Mar 2008 13:30:18 +0000 (06:30 -0700)
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

gcc/ChangeLog
gcc/config/i386/cygming.h
gcc/config/i386/i386.c

index 1363d397919a051ea795f2a333ad13c0ff8b5b78..3d746b81ad7a8df957eb9c22e7962cc075bf97c4 100644 (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 '/'.
index 3b18af5ba0f0985acf9e71cdcab77dbca6beaaa4..da6f61980e2cead5aa3fbd9d66abca4fcba1560c 100644 (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
index 8ddfa9f183b28c5df331704dcc57917c48c5bad4..e1d5aad6de1c7cb9fa210ed461b5d7897d61ad4f 100644 (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 ();