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
This commit is contained in:
Jan Hubicka 1999-04-14 11:21:40 +02:00 committed by Richard Henderson
parent d232860331
commit 42ebbb0a1d
2 changed files with 10 additions and 1 deletions

View File

@ -1,3 +1,8 @@
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.

View File

@ -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))