Hi,

The patch below fixes the memory cost  for P5600.

ChangeLog:
2014-11-05 Prachi Godbole <prachi.godb...@imgtec.com>

* config/mips/mips.c (mips_rtx_cost_data): Fix memory_letency cost for p5600.


diff --git a/gcc/config/mips/mips.c b/gcc/config/mips/mips.c
index af6a913..558ba2f 100644
--- a/gcc/config/mips/mips.c
+++ b/gcc/config/mips/mips.c
@@ -1193,7 +1193,7 @@ static const struct mips_rtx_cost_data
     COSTS_N_INSNS (8),            /* int_div_si */
     COSTS_N_INSNS (8),            /* int_div_di */
                    2,            /* branch_cost */
-                  10             /* memory_latency */
+                   4             /* memory_latency */
   }
 };
 ^L

Reply via email to