Commit 42ebbb0a by Jan Hubicka Committed by Richard Henderson

Jan Hubicka <hubicka@freesoft.cz>

Jan Hubicka <hubicka@freesoft.cz>
        * i386.c (x86_adjust_cost): Agi stall takes 1 cycle on Pentium, fst
        requires value to be ready one extra cycle.

From-SVN: r26441
parent d2328603
Wed Apr 14 09:19:39 1999 Jan Hubicka <hubicka@freesoft.cz>
* i386.c (x86_adjust_cost): Agi stall takes 1 cycle on Pentium, fst
requires value to be ready one extra cycle.
Wed Apr 14 11:28:34 1999 Dave Brolley <brolley@cygnus.com>
* config/i386/i386.c (memory_address_length): Add missing parenthesis.
......
......@@ -5424,7 +5424,7 @@ x86_adjust_cost (insn, link, dep_insn, cost)
return 0;
if (agi_dependent (insn, dep_insn))
return 3;
return cost ? cost + 1 : 2;
if (GET_CODE (insn) == INSN
&& GET_CODE (PATTERN (insn)) == SET
......@@ -5435,6 +5435,10 @@ x86_adjust_cost (insn, link, dep_insn, cost)
return 0;
break;
/* Stores stalls one cycle longer than other insns. */
if (is_fp_insn (insn) && cost && is_fp_store (dep_insn))
cost++;
case PROCESSOR_K6:
default:
if (!is_fp_dest (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