* i386.c (athlon_cost): Fix the move costs.
authorJan Hubicka <jh@suse.cz>
Thu, 3 Oct 2002 21:37:17 +0000 (23:37 +0200)
committerJan Hubicka <hubicka@gcc.gnu.org>
Thu, 3 Oct 2002 21:37:17 +0000 (21:37 +0000)
From-SVN: r57791

gcc/ChangeLog
gcc/config/i386/i386.c

index 636128735108c2c7036f93a765531f5ccaac08c7..0850ea3fd915b2bb184c3b0fe203b9add730d801 100644 (file)
@@ -1,3 +1,7 @@
+Thu Oct  3 23:35:51 CEST 2002  Jan Hubicka  <jh@suse.cz>
+
+       * i386.c (athlon_cost): Fix the move costs.
+
 Thu Oct  3 23:20:58 CEST 2002  Jan Hubicka  <jh@suse.cz>
 
        * final.c (final): Use symbol name as function name for profiling.
index b018c9eced73387efca330f2096293edff945527..f912fa94d38602f552c8346b3bcf0019d8bf1263 100644 (file)
@@ -285,25 +285,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 */
 };