Commit 8c2b2fae by Uros Bizjak

* config/i386/i386.h (PUSH_ROUNDING): Redefine using UNITS_PER_WORD.

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