OSDN Git Service

2004-11-23 Ralf Corsepius <ralf.corsepius@rtems.org>
[pf3gnuchains/gcc-fork.git] / gcc / ChangeLog
index df0dfa7..3a0b972 100644 (file)
@@ -1,3 +1,304 @@
+2004-11-23  Ralf Corsepius <ralf.corsepius@rtems.org>
+
+       * config.gcc (h8300-*-rtems*): Use h8300/t-rtems.
+
+2004-11-23  Ralf Corsepius <ralf.corsepius@rtems.org>
+
+       * config/arm/t-rtems: New.
+       * config.gcc: Reflect having added arm/t-rtems.
+
+2004-11-23  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * tree-cfg.c (tree_execute_on_growing_pred): New.
+       (tree_cfg_hooks): Add tree_execute_on_growing_pred.
+       * tree-flow.h: Add a prototype for
+       reserve_phi_args_for_new_edge.
+       * tree-phinodes.c (reserve_phi_args_for_new_edge): New.
+       (add_phi_arg): Don't resize a PHI array.
+
+2004-11-23  Ralf Corsepius <ralf.corsepius@rtems.org>
+
+       * config.gcc: Add avr-*-rtems*.
+       * config/avr/t-rtems: New.
+       * config/avr/rtems.h: New.
+
+2004-11-22  Daniel Berlin  <dberlin@dberlin.org>
+
+       * df.c (dataflow_set_a_op_b): Remove reslt parameter, since it's
+       always the same as op1.  Use bitmap_ior_into and bitmap_and_into.
+       Add comment to function.
+
+2004-11-22  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
+
+       PR pch/14940
+       * config/host-linux.c (TRY_EMPTY_VM_SPACE): Define for __hppa__.
+
+       PR rtl-optimization/14838
+       * emit-rtl.c (get_first_nonnote_insn): Don't assume first insn is a
+       note.
+       (get_last_nonnote_insn): Don't assume last insn is a note.
+
+2004-11-22  Roger Sayle  <roger@eyesopen.com>
+
+       * fold-const.c (nondestructive_fold_binary_to_constant): Rename
+       to fold_binary_to_constant.
+       (nondestructive_fold_unary_to_constant): Likewise, rename to
+       fold_unary_to_constant.
+       (fold_relational_hi_lo): Update call to fold_binary_to_constant.
+       * tree.h (nondestructive_fold_binary_to_constant): Update prototype.
+       (nondestructive_fold_unary_to_constant): Likewise.
+       * tree-ssa-ccp.c (ccp_fold): Update calls to fold_unary_to_constant
+       and fold_binary_to_constant.
+       * tree-ssa-loop-niter.c (EXEC_BINARY, EXEC_UNARY): Delete macros.
+       (inverse, number_of_iterations_cond): Replace uses of EXEC_BINARY
+       and EXEC_UNARY with calls to fold_*nary_to_constant.
+       * tree-ssa-loop-ivopts.c (EXEC_BINARY, EXEC_UNARY): Delete macros.
+       (idx_find_step): Replace uses of EXEC_BINARY with calls to
+       fold_binary_to_constant.
+
+2004-11-22  Roger Sayle  <roger@eyesopen.com>
+
+       * config/i386/i386.h (TARGET_USE_FANCY_MATH_387): New macro.
+       * config/i386/i386.c (override_options):  Set MASK_NO_FANCY_MATH_387
+       automatically for targets without TARGET_80387.
+       * config/i386/i386.md (sqrtsf2, sqrtsf2_1, sqrtsf2_i387, sqrtdf2,
+       sqrtdf2_1, sqrtdf2_i387, *sqrtextendsfdf2, sqrtxf2,
+       *sqrtextenddfxf2, *sqrtextendsfxf2, fpremxf4, fmodsf3, fmoddf3,
+       fmodxf3, fprem1xf4, dremsf3, dremdf3, dremxf3, *sindf2, *sinsf2,
+       *sinextendsfdf2, *sinxf2, *cosdf2, *cossf2, *cosextendsfdf2,
+       *cosxf2, sincosdf3, sincossf3, *sincosextendsfdf3, sincosxf3,
+       *tandf3_1, tandf2, *tansf3_1, tansf2, *tanxf3_1, tanxf2,
+       atan2df3_1, atan2df3, atandf2, atan2sf3_1, atan2sf3, atansf2,
+       atan2xf3_1, atan2xf3, atanxf2, asindf2, asinsf2, asinxf2,
+       acosdf2, acossf2, acosxf2, fyl2x_xf3, logsf2, logdf2, logxf2,
+       log10sf2, log10df2, log10xf2, log2sf2, log2df2, log2xf2,
+       fyl2xp1_xf3, log1psf2, log1pdf2, log1pxf2, *fxtractxf3, logbsf2,
+       logbdf2, logbxf2, ilogbsi2, *f2xm1xf2, *fscalexf4, expsf2,
+       expdf2, expxf2, exp10sf2, exp10df2, exp10xf2, exp2sf2, exp2df2,
+       exp2xf2, expm1df2, expm1sf2, expm1xf2, frndintxf2, rintdf2,
+       rintsf2, rintxf2, frndintxf2_floor, floordf2, floorsf2, 
+       floorxf2, frndintxf2_ceil, ceildf2, ceilsf2, ceilxf2,
+       frndintxf2_trunc, btruncdf2, btruncsf2, btruncxf2,
+       frndintxf2_mask_pm, nearbyintdf2, nearbyintsf2, nearbyintxf2):
+       Simplify conditionals using TARGET_USE_FANCY_MATH_387.
+
+2004-11-22  Dale Johannesen  <dalej@apple.com>
+
+       * config/darwin.h (JUMP_TABLES_IN_TEXT_SECTION):  Conditionalize
+       properly and comment.
+
+2004-11-22  James A. Morrison  <phython@gcc.gnu.org
+
+       * config/sparc/sparc.c: Include insn-codes.h and langhooks.h.
+       (sparc_init_builtins): New function.
+       (sparc_init_vis_builtins): Create builtin functions for VIS
+       instructions.
+       (sparc_expand_builtin): Expand builtin functions for VIS instructions.
+       (TARGET_INIT_BUILTINS): Define to sparc_init_builtins.
+       (TARGET_EXPAND_BUILTIN): Define to sparc_expand_builtin.
+       (def_builtin): New macro for creating builtin functions.
+       (P): New mode macro for pointer types.
+       (UNSPEC_FPACK16, UNSPEC_FPACK32, UNSPEC_FPACKFIX, UNSPEC_FEXPAND,
+       UNSPEC_FPMERGE, UNSPEC_MUL16AL, UNSPEC_MUL8UL, UNSPEC_MULDUL,
+       UNSPEC_ALIGNDATA, UNSPEC_ALIGNADDR, UNSPEC_PDIST): New constants.
+       (fpack16_vis, fpackfix_vis, fpack32_vis, fexpand_vis, fpmerge_vis,
+       fmul8x16_vis, fmul8x16au_vis, fmul8x16al_vis, fmul8sux16_vis,
+       fmul8ulx16_vis, fmuld8sux16_vis, fmuld8ulx16_vis, pdist_vis,
+       faligndata<V64:mode>_vis, alignaddr<P:mode>_vis): New patterns.
+
+2004-11-22  Devang Patel  <dpatel@apple.com>
+
+       * tree-if-conv.c (clean_predicate_lists): Clean all basic blocks.
+       
+2004-11-22  Devang Patel  <dpatel@apple.com>
+
+       * tree-if-conv.c (if_convertable_phi_p): Rename to ...
+       (if_convertible_phi_p): ... new name.
+       (if_convertable_modify_expr_p): Rename to ...
+       (if_convertible_modify_expr_p): ... new name.
+       (if_convertable_stmt_p): Rename to ...
+       (if_convertible_stmt_p): ... new name.
+       (if_convertable_bb_p): Rename to ...
+       (if_convertible_bb_p): ... new name.
+       (if_convertable_loop_p): Rename to ...
+       (if_convertible_loop_p): ... new name.
+       
+2004-11-22  Eric Botcazou  <ebotcazou@libertysurf.fr>
+
+       PR target/18444
+       * configure.ac (threading): Accept 'posix95'.
+       * configure: Regenerate.
+       * config.gcc (i[34567]86-*-solaris2*): On Solaris up to 2.6,
+       include sol26.h and default to posix95 threads if have_pthread_h.
+       (sparc-*-solaris2*): Likewise.
+       * gthr.h: Include gthr-posix95.h if _PTHREADS95 is defined.
+       * gthr-posix95.h: New file.
+       * config/sol26.h: New file.
+       * doc/install.texi (--enable-threads): Document 'posix95'.
+
+2004-11-23  Ben Elliston  <bje@au.ibm.com>
+
+       * pointer-set.h (pointer_set_contains): Remove.
+       * pointer-set.c (pointer_set_contains): Likewise.
+
+2004-11-22  Dale Johannesen  <dalej@apple.com>
+
+       * calls.c (expand_call): Do not call preserve_temp_slots.
+
+2004-11-22  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * tree-flow.h: Remove the prototype for remove_phi_arg.
+       Add a prototype for remove_phi_args.
+       * tree-phinodes.c (remove_phi_arg): Remove.
+       (remove_phi_args): New.
+       * tree-ssa.c (ssa_remove_edge): Call remove_phi_args instead
+       of remove_phi_arg.
+
+       * cfg.c (unchecked_make_edge): Call execute_on_growing_pred
+       after making an edge.
+       (remove_edge): Call execute_on_shrinking_pred before removing
+       an edge.
+       (redirect_edge_succ): Call execute_on_growing_pred and
+       execute_on_shrinking_pred.
+       * cfghooks.c (execute_on_growing_pred): New.
+       (execute_on_shrinking_pred): Likewise.
+       * cfghooks.h (cfg_hooks): Add execute_on_growing_pred and
+       execute_on_shrinking_pred.
+       Add prototypes for execute_on_growing_pred and
+       execute_on_shrinking_pred.
+       * cfgrtl.c (rtl_cfg_hooks): Add NULL hooks to
+       execute_on_growing_pred and execute_on_shrinking_pred.
+       (cfg_layout_rtl_cfg_hook): Likewise.
+       * tree-cfg.c (tree_cfg_hooks): Likewise.
+
+       * tree-cfg.c (tree_execute_on_shrinking_pred): New.
+       (tree_cfg_hooks): Use it.
+       * tree-ssa.c (ssa_remove_edge): Don't call remove_phi_args.
+       (ssa_redirect_edge): Don't call remove_phi_arg_num.
+
+       * tree-phinodes.c (remove_phi_arg_num): Make it static.
+       * tree-flow.h: Remove the corresponding prototype.
+
+       * tree-ssa.c (ssa_remove_edge): Remove.
+       * tree-flow.h: Remove the corresponding prototype.
+       * tree-cfg.c: Replace ssa_remove_edge with remove_edge.
+       * basic-block.h: Likewise.
+       * tree-if-conv.c: Likewise.
+       * tree-ssa-threadupdate.c: Likewise.
+
+2004-11-23  Ben Elliston  <bje@au.ibm.com>
+
+       * doc/cfg.texi (Maintaining the CFG): Use @ftable instead of
+       @table to list the BSI methods.  Use individual @findex directives
+       instead of one with a comma-separated list of index entries.
+
+2004-11-22  Zdenek Dvorak  <dvorakz@suse.cz>
+
+       PR tree-optimization/18529
+       * fold-const.c (fold_to_nonsharp_ineq_using_bound): New function.
+       (simple_operand_p): Use STRIP_NOPS.  Consider SSA names simple.
+       (fold): Call fold_to_nonsharp_ineq_using_bound.
+       * tree-ssa-loop-niter.c (simplify_replace_tree): New function.
+       (number_of_iterations_cond): Fold the expressions before futher
+       processing.
+       (tree_simplify_using_condition): Handle case when cond or expr is
+       an EQ_EXPR specially.
+
+2004-11-22 Daniel Berlin  <dberlin@dberlin.org>
+
+        * tree-ssa.c (verify_ssa): SSA_OP_ALL_USES should be
+       SSA_OP_ALL_USES | SSA_OP_ALL_KILLS for verification purposes.
+
+2004-11-22  David Edelsohn  <edelsohn@gnu.org>
+           Fariborz Jahanian  <fjahanian@apple.com>
+
+       * config/rs6000/rs6000.c (rs6000_return_in_memory): Test
+       TARGET_ALTIVEC_ABI.
+       (function_arg_boundary): Align 8 to 16 byte vectors like SPE.
+       Align 16 byte and larger vectors like Altivec.
+       (function_arg_advance): Pass any 16 byte vector like Altivec vector.
+       (function_arg): Same.
+       (rs6000_pass_by_references): Test TARGET_ALTIVEC_ABI.
+
+2004-11-22  Andrew Pinski  <pinskia@physics.uc.edu>
+
+       PR tree-opt/18572
+       * tree-sra.c (scalarize_init): Unshare the rhs before gimplifying
+       it.
+
+2004-11-22  Richard Henderson  <rth@redhat.com>
+
+       * function.c (assign_parm_setup_block): Revert 11-13 change to
+       forcably re-mode a (possibly BLKmode) hard register.
+
+2004-11-22  Eric Botcazou  <ebotcazou@libertysurf.fr>
+
+       * config/sparc/sparc.c (mem_min_alignment): Check MEM_ALIGN.
+
+2004-11-22  David Edelsohn  <edelsohn@gnu.org>
+
+       * config/rs6000/power4.md: Remove delay between dispatch and issue
+       associated with dispatch group slots 3 and 4.
+       * config/rs6000/power5.md: Same.
+
+2004-11-21  Jeff Law  <law@redhat.com>
+
+       * cfg.c (cached_make_edge): Use find_edge rather than an inlined
+       variant.
+       * cfgbuild.c (make_edges): Likewise.
+       * cfghooks.c (can_duplicate_block_p): Likewise.
+       * cfgloop.c (loop_latch_edge): Likewise.
+       * cfgloopmanip.c (force_single_succ_latches): Likewise.
+       * cfgrtl.c (rtl_flow_call_edges_add): Likewise.
+       * predict.c (predict_loops, propagate_freq): Likewise.
+       * tracer.c (tail_duplicate): Likewise.
+       * tree-cfg.c (disband_implicit_edges): Likewise.
+       (tree_forwarder_block_p, tree_flow_call_edges_add): Likewise.
+
+2004-11-22  Nick Clifton  <nickc@redhat.com>
+
+       * sbitmap.c (sbitmap_union_of_preds): Remove redundant
+       initialisation of 'e'.
+
+2004-11-22  Kazu Hirata  <kazu@cs.umass.edu>
+
+       PR rtl-optimization/18599
+       * regrename.c (copyprop_hardreg_forward): Speed up by putting
+       BB_VISITED flags on basic blocks as we process them.
+
+2004-11-22  Nathan Sidwell  <nathan@codesourcery.com>
+
+       * config/rs6000/altivec.md (VI_char): New mode attribute.
+       (addv16qi3, addv8hi3, addv4ai3): Replace with ...
+       (add<mode>3): ... this.
+       (subv16qi3, subv8hi3, subv4ai3): Replace with ...
+       (sub<mode>3): ... this.
+       (smaxv16qi3, smaxv8hi3, smaxv4ai3): Replace with ...
+       (smax<mode>3): ... this.
+       (sminv16qi3, sminv8hi3, sminv4ai3): Replace with ...
+       (smin<mode>3): ... this.
+       (umaxv16qi3, umaxv8hi3, umaxv4ai3): Replace with ...
+       (umax<mode>3): ... this.
+       (uminv16qi3, uminv8hi3, uminv4ai3): Replace with ...
+       (umin<mode>3): ... this.
+       (andv16qi3, andv8hi3, andv4ai3): Replace with ...
+       (and<mode>3): ... this.
+       (iorv16qi3, iorv8hi3, iorv4ai3): Replace with ...
+       (ior<mode>3): ... this.
+       (xorv16qi3, xorv8hi3, xorv4ai3): Replace with ...
+       (xor<mode>3): ... this.
+       (andv16qi3, andv8hi3, andv4ai3): Replace with ...
+       (and<mode>3): ... this.
+       (iorv16qi3, iorv8hi3, iorv4ai3): Replace with ...
+       (ior<mode>3): ... this.
+       (altivec_vnor): Replace with ...
+       (altivec_nor<mode>): ... this.
+       (one_cmplv16qi2, one_cmplv8hi2, one_complv4ai2): Replace with ...
+       (one_cmpl<mode>2): ... this.
+       (altivec_vandc): New expander.
+       (*andc<mode>3): New insn.
+       * config/rs6000/rs6000.c (bdesc_2arg): Adjust for new insn names.
+
 2004-11-22  Dorit Naishlos  <dorit@il.ibm.com>
 
        PR tree-opt/18536