From: David Edelsohn Date: Sun, 24 Feb 2008 21:16:22 +0000 (+0000) Subject: rs6000.c (processor_costs): Add cache costs for e300c2 and e300c3. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=642639ce431dc7693cedb454ebbcbbdc86d331c9;p=gcc.git 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 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 989cada2eed..eac3fe2ba1c 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2008-02-24 David Edelsohn + + * config/rs6000/rs6000.c (processor_costs): Add cache costs for + e300c2 and e300c3. + 2008-02-24 Diego Novillo http://gcc.gnu.org/ml/gcc-patches/2008-02/msg01094.html 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. */