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
+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.
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
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))