summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordje <dje@138bc75d-0d04-0410-961f-82ee72b054a4>2008-02-26 19:14:00 +0000
committerdje <dje@138bc75d-0d04-0410-961f-82ee72b054a4>2008-02-26 19:14:00 +0000
commit0fc88469ed193c14e05072b3435063f8e11d7d2f (patch)
tree7faaab03939d9980834bf88b2945722093bf357b
parent91398c847c9b6a8dafc828245d3214f6529860eb (diff)
downloadgcc-0fc88469ed193c14e05072b3435063f8e11d7d2f.tar.gz
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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@132683 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r--gcc/ChangeLog6
-rw-r--r--gcc/config/rs6000/rs6000.c4
-rw-r--r--gcc/doc/invoke.texi11
3 files changed, 14 insertions, 7 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 02f55c96335..2a6f2030a3e 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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
diff --git a/gcc/config/rs6000/rs6000.c b/gcc/config/rs6000/rs6000.c
index 9b9fefda2af..8ec976fb4b3 100644
--- a/gcc/config/rs6000/rs6000.c
+++ b/gcc/config/rs6000/rs6000.c
@@ -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 /*/
};
diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi
index 7e444c0370c..d30c0cf3ba8 100644
--- a/gcc/doc/invoke.texi
+++ b/gcc/doc/invoke.texi
@@ -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.