]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
* config/i386/i386.h (PUSH_ROUNDING): Redefine using UNITS_PER_WORD.
authorUros Bizjak <uros@gcc.gnu.org>
Thu, 16 Sep 2010 06:34:12 +0000 (08:34 +0200)
committerUros Bizjak <uros@gcc.gnu.org>
Thu, 16 Sep 2010 06:34:12 +0000 (08:34 +0200)
From-SVN: r164328

gcc/ChangeLog
gcc/config/i386/i386.h
gcc/testsuite/ChangeLog

index 184894a0b91f5f453ee59667d3c657edce6e1e2b..a56ebaf9d0d90b497ebf2fec6a97a0476d819023 100644 (file)
@@ -1,3 +1,7 @@
+2010-09-16  Uros Bizjak  <ubizjak@gmail.com>
+
+       * config/i386/i386.h (PUSH_ROUNDING): Redefine using UNITS_PER_WORD.
+
 2010-09-15  Eric Botcazou  <ebotcazou@adacore.com>
 
        PR rtl-optimization/45593
@@ -84,7 +88,7 @@
        is enabled, probe up to frame_size + STACK_CHECK_PROTECT bytes.
 
 2010-09-15  Olivier Hainque  <hainque@adacore.com>
-            Jose Ruiz  <ruiz@adacore.com>
+           Jose Ruiz  <ruiz@adacore.com>
 
        * config/alpha/osf5.h (MD_UNWIND_SUPPORT): Define.
        * config/alpha/osf5-unwind.h: New file.
@@ -92,8 +96,7 @@
 2010-09-14  H.J. Lu  <hongjiu.lu@intel.com>
 
        PR bootstrap/45672
-       * config/mips/mips.c (mips_units_per_simd_word): Correct return
-       type.
+       * config/mips/mips.c (mips_units_per_simd_word): Correct return type.
        * config/rs6000/rs6000.c (rs6000_units_per_simd_word): Likewise.
        * config/sparc/sparc.c (sparc_units_per_simd_word): Likewise.
 
 
        * config/i386/i386-protos.h (ix86_units_per_simd_word): Removed.
 
-       * config/i386/i386.c (ix86_units_per_simd_word): Make it
-       static.
+       * config/i386/i386.c (ix86_units_per_simd_word): Make it static.
        (TARGET_VECTORIZE_UNITS_PER_SIMD_WORD): New.
 
        * doc/tm.texi.in: Remove UNITS_PER_SIMD_WORD.  Add
        PR tree-optimization/45470
        * tree-vect-data-refs.c (vect_analyze_data_refs): Fail if a statement
        can throw an exception.
-       * tree-vect-stmts.c (vectorizable_call): Likewise.      
+       * tree-vect-stmts.c (vectorizable_call): Likewise.
 
 2010-09-14  DJ Delorie  <dj@redhat.com>
 
 2010-09-13  Marcus Shawcroft  <marcus.shawcroft@arm.com>
 
        * config/arm/arm.md: (define_attr "conds"): Update comment.
-       * config/arm/sync.md (arm_sync_compare_and_swapsi): Change 
+       * config/arm/sync.md (arm_sync_compare_and_swapsi): Change
        conds attribute to clob.
-        (arm_sync_compare_and_swapsi): Likewise.
+       (arm_sync_compare_and_swapsi): Likewise.
        (arm_sync_compare_and_swap<mode>): Likewise.
        (arm_sync_lock_test_and_setsi): Likewise.
        (arm_sync_lock_test_and_set<mode>): Likewise.
 
 2010-09-13  Olivier Hainque  <hainque@adacore.com>
 
-        * fwprop.c (forward_propagate_and_simplify): Only attach a
+       * fwprop.c (forward_propagate_and_simplify): Only attach a
        REG_EQUAL note to an insn if the destination is a register.
-        * gcse.c (try_replace_reg): Likewise.
+       * gcse.c (try_replace_reg): Likewise.
 
 2010-09-13  Richard Guenther  <rguenther@suse.de>
 
 
 2010-09-10  Richard Guenther  <rguenther@suse.de>
 
-       * tree.c (type_hash_eq): For ARRAY_TYPEs also compare
-       TYPE_SIZE.
+       * tree.c (type_hash_eq): For ARRAY_TYPEs also compare TYPE_SIZE.
        (build_index_type): Implement in terms of build_range_type.
        (build_range_type): Do not allow NULL_TREE type, improve
        hashing to cover more cases.  Set TYPE_STRUCTURAL_EQUALITY_P
 
 2010-09-10  Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
 
-        * config/arm/neon-schedgen.ml (allCores): Add support for
-       Cortex-A9.
-        * config/arm/cortex-a9-neon.md: New and partially generated.
-        * config/arm/cortex-a9.md (cortex_a9_dp): Adjust for Neon.
+       * config/arm/neon-schedgen.ml (allCores): Add support for Cortex-A9.
+       * config/arm/cortex-a9-neon.md: New and partially generated.
+       * config/arm/cortex-a9.md (cortex_a9_dp): Adjust for Neon.
 
 2010-09-10  Richard Guenther  <rguenther@suse.de>
 
index fe48efd180604beb3d8d7b2c2cdb6dad1ff3d151..1b735cb07205622f8760a843310012641cfb20c7 100644 (file)
@@ -1456,26 +1456,21 @@ enum reg_class
    of the first local allocated.  */
 #define STARTING_FRAME_OFFSET 0
 
-/* If we generate an insn to push BYTES bytes,
-   this says how many the stack pointer really advances by.
-   On 386, we have pushw instruction that decrements by exactly 2 no
-   matter what the position was, there is no pushb.
-   But as CIE data alignment factor on this arch is -4, we need to make
-   sure all stack pointer adjustments are in multiple of 4.
-
-   For 64bit ABI we round up to 8 bytes.
- */
+/* If we generate an insn to push BYTES bytes, this says how many the stack
+   pointer really advances by.  On 386, we have pushw instruction that
+   decrements by exactly 2 no matter what the position was, there is no pushb.
+
+   But as CIE data alignment factor on this arch is -4 for 32bit targets
+   and -8 for 64bit targets, we need to make sure all stack pointer adjustments
+   are in multiple of 4 for 32bit targets and 8 for 64bit targets.  */
 
 #define PUSH_ROUNDING(BYTES) \
-  (TARGET_64BIT                     \
-   ? (((BYTES) + 7) & (-8))  \
-   : (((BYTES) + 3) & (-4)))
-
-/* If defined, the maximum amount of space required for outgoing arguments will
-   be computed and placed into the variable
-   `crtl->outgoing_args_size'.  No space will be pushed onto the
-   stack for each call; instead, the function prologue should increase the stack
-   frame size by this amount.  
+  (((BYTES) + UNITS_PER_WORD - 1) & -UNITS_PER_WORD)
+
+/* If defined, the maximum amount of space required for outgoing arguments
+   will be computed and placed into the variable `crtl->outgoing_args_size'.
+   No space will be pushed onto the stack for each call; instead, the
+   function prologue should increase the stack frame size by this amount.  
    
    MS ABI seem to require 16 byte alignment everywhere except for function
    prologue and apilogue.  This is not possible without
index e41832bda1dc51857e80c536551043afc45da76e..6f8f84a11e1031f2d6fd839fd153784866fa67a8 100644 (file)
@@ -38,7 +38,7 @@
 
        Merge from 'apple/trunk' branch on FSF servers.
 
-       2006-03-09 Fariborz Jahanian <fjahanian@apple.com>
+       2006-03-09  Fariborz Jahanian  <fjahanian@apple.com>
 
        Radar 4457381
        * objc.dg/msg-in-protocol.m: New.