diff options
author | David Edelsohn <edelsohn@gnu.org> | 2008-02-24 21:16:22 +0000 |
---|---|---|
committer | David Edelsohn <dje@gcc.gnu.org> | 2008-02-24 16:16:22 -0500 |
commit | 642639ce431dc7693cedb454ebbcbbdc86d331c9 (patch) | |
tree | db03b7e14f8967be6ca16c9c70c531e451d6252e /gcc | |
parent | c05800b6ef28ad14facfba2b09d37d99709fc609 (diff) | |
download | gcc-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')
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/config/rs6000/rs6000.c | 4 |
2 files changed, 9 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 989cada..eac3fe2 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2008-02-24 David Edelsohn <edelsohn@gnu.org> + + * config/rs6000/rs6000.c (processor_costs): Add cache costs for + e300c2 and e300c3. + 2008-02-24 Diego Novillo <dnovillo@google.com> 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 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. */ |