OSDN Git Service

* config/rs6000/rs6000.c (processor_costs): Add cache costs for
authordje <dje@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 24 Feb 2008 21:16:22 +0000 (21:16 +0000)
committerdje <dje@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 24 Feb 2008 21:16:22 +0000 (21:16 +0000)
        e300c2 and e300c3.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@132598 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/config/rs6000/rs6000.c

index 989cada..eac3fe2 100644 (file)
@@ -1,3 +1,8 @@
+2008-02-24  David Edelsohn  <edelsohn@gnu.org>
+
+       * config/rs6000/rs6000.c (processor_costs): Add cache costs for
+       e300c2 and e300c3.
+
 2008-02-24  Diego Novillo  <dnovillo@google.com>
 
        http://gcc.gnu.org/ml/gcc-patches/2008-02/msg01094.html
index cdb07aa..9b9fefd 100644 (file)
@@ -682,6 +682,10 @@ struct processor_costs ppce300c2c3_cost = {
   COSTS_N_INSNS (4),    /* dmul */
   COSTS_N_INSNS (18),   /* sdiv */
   COSTS_N_INSNS (33),   /* ddiv */
+  32,
+  32,                  /* l1 cache */
+  256,                 /* l2 cache */
+  1,                   /* prefetch streams /*/
 };
 
 /* Instruction costs on POWER4 and POWER5 processors.  */