Commit dff008b4 by Steven Bosscher

i386.c (ix86_adjust_cost): Don't increase the cost for load+operation for PROCESSOR_PENTIUMPRO...

	* i386.c (ix86_adjust_cost): Don't increase the cost for
	load+operation for PROCESSOR_PENTIUMPRO, it is already
	modelled in the DFA description

From-SVN: r82571
parent 2fa54841
2004-06-02 Steven Bosscher <stevenb@suse.de>
* i386.c (ix86_adjust_cost): Don't increase the cost for
load+operation for PROCESSOR_PENTIUMPRO, it is already
modelled in the DFA description
2004-06-01 Jerry Quinn <jlquinn@optonline.net> 2004-06-01 Jerry Quinn <jlquinn@optonline.net>
* Makefile.in (EXPR_H): Add insn-config.h, function.h, * Makefile.in (EXPR_H): Add insn-config.h, function.h,
......
...@@ -12261,14 +12261,6 @@ ix86_adjust_cost (rtx insn, rtx link, rtx dep_insn, int cost) ...@@ -12261,14 +12261,6 @@ ix86_adjust_cost (rtx insn, rtx link, rtx dep_insn, int cost)
case PROCESSOR_PENTIUMPRO: case PROCESSOR_PENTIUMPRO:
memory = get_attr_memory (insn); memory = get_attr_memory (insn);
dep_memory = get_attr_memory (dep_insn);
/* Since we can't represent delayed latencies of load+operation,
increase the cost here for non-imov insns. */
if (dep_insn_type != TYPE_IMOV
&& dep_insn_type != TYPE_FMOV
&& (dep_memory == MEMORY_LOAD || dep_memory == MEMORY_BOTH))
cost += 1;
/* INT->FP conversion is expensive. */ /* INT->FP conversion is expensive. */
if (get_attr_fp_int_src (dep_insn)) if (get_attr_fp_int_src (dep_insn))
......
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