aboutsummaryrefslogtreecommitdiff
path: root/gcc/config
diff options
context:
space:
mode:
authorDavid Edelsohn <edelsohn@gnu.org>2008-02-24 21:16:22 +0000
committerDavid Edelsohn <dje@gcc.gnu.org>2008-02-24 16:16:22 -0500
commit642639ce431dc7693cedb454ebbcbbdc86d331c9 (patch)
treedb03b7e14f8967be6ca16c9c70c531e451d6252e /gcc/config
parentc05800b6ef28ad14facfba2b09d37d99709fc609 (diff)
downloadgcc-642639ce431dc7693cedb454ebbcbbdc86d331c9.zip
gcc-642639ce431dc7693cedb454ebbcbbdc86d331c9.tar.gz
gcc-642639ce431dc7693cedb454ebbcbbdc86d331c9.tar.bz2
rs6000.c (processor_costs): Add cache costs for e300c2 and e300c3.
* config/rs6000/rs6000.c (processor_costs): Add cache costs for e300c2 and e300c3. From-SVN: r132598
Diffstat (limited to 'gcc/config')
-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 cdb07aa..9b9fefd 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. */