This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH][MIPS] Fix P5600 memory cost


Hi,

The patch below fixes the memory cost  for P5600.

ChangeLog:
2014-11-05 Prachi Godbole <prachi.godbole@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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]