rs6000.c (processor_costs): Update e300 cache line sizes.
authorEdmar Wienskoski <edmar@freescale.com>
Tue, 26 Feb 2008 19:14:00 +0000 (19:14 +0000)
committerDavid Edelsohn <dje@gcc.gnu.org>
Tue, 26 Feb 2008 19:14:00 +0000 (14:14 -0500)
2008-02-26  Edmar Wienskoski  <edmar@freescale.com>

        * config/rs6000/rs6000.c (processor_costs): Update e300 cache
        line sizes.
        * doc/invoke.texi: Add e300c2 and e300c3 to list of cpus.

From-SVN: r132683

gcc/ChangeLog
gcc/config/rs6000/rs6000.c
gcc/doc/invoke.texi

index 02f55c96335bfc1174321190796d63d9bf204510..2a6f2030a3ed5bb503db5f142a4dec72b43a861c 100644 (file)
@@ -1,3 +1,9 @@
+2008-02-26  Edmar Wienskoski  <edmar@freescale.com>
+
+       * config/rs6000/rs6000.c (processor_costs): Update e300 cache
+       line sizes.
+       * doc/invoke.texi: Add e300c2 and e300c3 to list of cpus.
+
 2008-02-26  Jason Merrill  <jason@redhat.com>
 
        PR c++/35315
index 9b9fefda2aff7d3ee31221290aedae54d0671369..8ec976fb4b3630d3be2a5ebd933cf04fbc929060 100644 (file)
@@ -683,8 +683,8 @@ struct processor_costs ppce300c2c3_cost = {
   COSTS_N_INSNS (18),   /* sdiv */
   COSTS_N_INSNS (33),   /* ddiv */
   32,
-  32,                  /* l1 cache */
-  256,                 /* l2 cache */
+  16,                  /* l1 cache */
+  16,                  /* l2 cache */
   1,                   /* prefetch streams /*/
 };
 
index 7e444c0370c1901ea84274957f26d742c58d189f..d30c0cf3ba8ae7ada7ee07fdd6a58fdcad17616e 100644 (file)
@@ -12925,11 +12925,12 @@ Supported values for @var{cpu_type} are @samp{401}, @samp{403},
 @samp{601}, @samp{602}, @samp{603}, @samp{603e}, @samp{604},
 @samp{604e}, @samp{620}, @samp{630}, @samp{740}, @samp{7400},
 @samp{7450}, @samp{750}, @samp{801}, @samp{821}, @samp{823},
-@samp{860}, @samp{970}, @samp{8540}, @samp{ec603e}, @samp{G3},
-@samp{G4}, @samp{G5}, @samp{power}, @samp{power2}, @samp{power3},
-@samp{power4}, @samp{power5}, @samp{power5+}, @samp{power6},
-@samp{power6x}, @samp{common}, @samp{powerpc}, @samp{powerpc64},
-@samp{rios}, @samp{rios1}, @samp{rios2}, @samp{rsc}, and @samp{rs64}.
+@samp{860}, @samp{970}, @samp{8540}, @samp{e300c2}, @samp{e300c3},
+@samp{ec603e}, @samp{G3}, @samp{G4}, @samp{G5}, @samp{power},
+@samp{power2}, @samp{power3}, @samp{power4}, @samp{power5},
+@samp{power5+}, @samp{power6}, @samp{power6x}, @samp{common},
+@samp{powerpc}, @samp{powerpc64}, @samp{rios}, @samp{rios1},
+@samp{rios2}, @samp{rsc}, and @samp{rs64}.
 
 @option{-mcpu=common} selects a completely generic processor.  Code
 generated under this option will run on any POWER or PowerPC processor.