diff options
author | dje <dje@138bc75d-0d04-0410-961f-82ee72b054a4> | 2008-02-24 21:16:22 +0000 |
---|---|---|
committer | dje <dje@138bc75d-0d04-0410-961f-82ee72b054a4> | 2008-02-24 21:16:22 +0000 |
commit | b18d68e31bc4703f592b1a5de59b59d09e8cbe1b (patch) | |
tree | db03b7e14f8967be6ca16c9c70c531e451d6252e /gcc | |
parent | 59ef97a304f40f1b4da4e9879e471d422e6c0bd0 (diff) | |
download | gcc-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')
-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 989cada2eed..eac3fe2ba1c 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 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. */ |