i386.c (ix86_secondary_memory_needed): Break out to...
[gcc.git] / gcc / ChangeLog
index afb13127b3b0f7013bfc10e6c38417391f81809a..cff3c0b81af9039719db24dc632dd2128fea19f6 100644 (file)
@@ -1,8 +1,67 @@
+2007-07-23  Jan Hubicka  <jH@suse.cz>
+
+       * i386.c (ix86_secondary_memory_needed): Break out to...
+       (inline_secondary_memory_needed): ... here.
+       (ix86_memory_move_cost): Break out to ...
+       (inline_memory_move_cost): ... here; add support for IN value of 2 for
+       maximum of input and output; fix handling of Q_REGS on 64bit.
+       (ix86_secondary_memory_needed): Microoptimize.
+
+2007-07-23  Sebastian Pop  <sebpop@gmail.com>
+
+       * tree-data-ref.c (find_vertex_for_stmt, create_rdg_edge_for_ddr,
+       create_rdg_edges_for_scalar, create_rdg_edges, create_rdg_vertices,
+       stmts_from_loop, known_dependences_p, build_rdg): New.
+       * tree-data-ref.h: Depends on graphds.h.
+       (rdg_vertex, RDGV_STMT, rdg_dep_type, rdg_edge, RDGE_TYPE): New.
+       (build_rdg): Declared.
+       * Makefile.in (TREE_DATA_REF_H): Depends on graphds.h.
+
+2007-07-23  Daniel Berlin  <dberlin@dberlin.org>
+
+       * tree-ssa-propagate.c (valid_gimple_expression_p): Match up with
+       ccp_min_invariant.
+
+2007-07-23  Peter Bergner  <bergner@vnet.ibm.com>
+           Jakub Jelinek  <jakub@redhat.com>
+
+       PR middle-end/PR28690
+       * optabs.c (expand_binop): (emit_cmp_and_jump_insns): Allow EQ compares.
+       * rtlanal.c (commutative_operand_precedence): Prefer both REG_POINTER
+       and MEM_POINTER operands over REG and MEM operands.
+       (swap_commutative_operands_p): Change return value to bool.
+       * rtl.h: Update the corresponding prototype.
+       * tree-ssa-address.c (gen_addr_rtx): Use simplify_gen_binary
+       instead of gen_rtx_PLUS.
+       * simplify-rtx.c (simplify_plus_minus_op_data_cmp): Change return
+       value to bool.  Change function arguments to rtx's and update code
+       to match.
+       (simplify_plus_minus): Update the simplify_plus_minus_op_data_cmp
+       calls to match the new declaration.
+       * simplify-rtx.c (simplify_associative_operation): Don't
+       reorder simplify_binary_operation arguments.
+
+2007-07-23  Richard Sandiford  <richard@codesourcery.com>
+
+       * config/mips/mips.c (override_options): Use mips_costs to derive
+       the default branch cost.
+       * config/mips/mips.h (BRANCH_COST): Use mips_branch_cost rather
+       than mips_costs.
+       * config/mips/mips.opt (mbranch-cost=): New option.
+       * doc/invoke.texi (-mbrach-cost): Document new MIPS option.
+
+2007-07-23  Richard Sandiford  <richard@codesourcery.com>
+
+       * config/mips/mips.h (GR_REG_CLASS_P, COP_REG_CLASS_P): Delete.
+       (SECONDARY_MEMORY_NEEDED): Delete commented-out definition.
+       * config/mips/mips.c (mips_register_move_cost): Use reg_class_subset_p
+       instead of GR_REG_CLASS_P and COP_REG_CLASS_P.
+
 2007-07-23  Richard Sandiford  <richard@codesourcery.com>
 
        * config/mips/constraints.md (ks): New constraint.
        * config/mips/mips.md (*add<mode>3_sp1, *add<mode>3_sp2): Fold into...
-       (*add<mode>3_mips16): ...here and fix their length calculations.
+       (*add<mode>3_mips16): ...here.
 
 2007-07-21  Uros Bizjak  <ubizjak@gmail.com>