From: Jan Hubicka Date: Wed, 9 Oct 2002 17:12:26 +0000 (+0200) Subject: re PR rtl-optimization/7792 (ICE with -march=athlon-xp -O2) X-Git-Tag: releases/gcc-3.2.1~186 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a09b2981d601edddf903b38977459ea05ba8343c;p=thirdparty%2Fgcc.git re PR rtl-optimization/7792 (ICE with -march=athlon-xp -O2) PR opt/7912 PR opt/7390 * i386.c (athlon_cost): Fix the move costs. From-SVN: r57986 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index e0331a12456e..7c5d0a4382ab 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +Wed Oct 9 19:09:13 CEST 2002 Jan Hubicka + + PR opt/7912 + PR opt/7390 + * i386.c (athlon_cost): Fix the move costs. + 2002-10-09 Alan Modra * libgcc2.c (__floatdisf): Properly cure double rounding. diff --git a/gcc/config/i386/i386.c b/gcc/config/i386/i386.c index ff9903c33fcb..8c9df73c7efa 100644 --- a/gcc/config/i386/i386.c +++ b/gcc/config/i386/i386.c @@ -284,25 +284,25 @@ struct processor_costs athlon_cost = { 8, /* "large" insn */ 9, /* MOVE_RATIO */ 4, /* cost for loading QImode using movzbl */ - {4, 5, 4}, /* cost of loading integer registers + {3, 4, 3}, /* cost of loading integer registers in QImode, HImode and SImode. Relative to reg-reg move (2). */ - {2, 3, 2}, /* cost of storing integer registers */ + {3, 4, 3}, /* cost of storing integer registers */ 4, /* cost of reg,reg fld/fst */ - {6, 6, 20}, /* cost of loading fp registers + {4, 4, 12}, /* cost of loading fp registers in SFmode, DFmode and XFmode */ - {4, 4, 16}, /* cost of loading integer registers */ + {6, 6, 8}, /* cost of loading integer registers */ 2, /* cost of moving MMX register */ - {2, 2}, /* cost of loading MMX registers + {4, 4}, /* cost of loading MMX registers in SImode and DImode */ - {2, 2}, /* cost of storing MMX registers + {4, 4}, /* cost of storing MMX registers in SImode and DImode */ 2, /* cost of moving SSE register */ - {2, 2, 8}, /* cost of loading SSE registers + {4, 4, 6}, /* cost of loading SSE registers in SImode, DImode and TImode */ - {2, 2, 8}, /* cost of storing SSE registers + {4, 4, 5}, /* cost of storing SSE registers in SImode, DImode and TImode */ - 6, /* MMX or SSE register to integer */ + 5, /* MMX or SSE register to integer */ 64, /* size of prefetch block */ 6, /* number of parallel prefetches */ };