summaryrefslogtreecommitdiff
path: root/gcc/config/rs6000
diff options
context:
space:
mode:
authordje <dje@138bc75d-0d04-0410-961f-82ee72b054a4>2008-02-24 21:16:22 +0000
committerdje <dje@138bc75d-0d04-0410-961f-82ee72b054a4>2008-02-24 21:16:22 +0000
commitb18d68e31bc4703f592b1a5de59b59d09e8cbe1b (patch)
treedb03b7e14f8967be6ca16c9c70c531e451d6252e /gcc/config/rs6000
parent59ef97a304f40f1b4da4e9879e471d422e6c0bd0 (diff)
downloadgcc-b18d68e31bc4703f592b1a5de59b59d09e8cbe1b.tar.gz
* config/rs6000/rs6000.c (processor_costs): Add cache costs for
e300c2 and e300c3. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@132598 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/rs6000')
-rw-r--r--gcc/config/rs6000/rs6000.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/config/rs6000/rs6000.c b/gcc/config/rs6000/rs6000.c
index cdb07aa41d1..9b9fefda2af 100644
--- a/gcc/config/rs6000/rs6000.c
+++ b/gcc/config/rs6000/rs6000.c
@@ -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. */