mips.c (mips_rtx_cost_data): Fix memory_latency cost for p5600.
authorPrachi Godbole <prachi.godbole@imgtec.com>
Wed, 26 Nov 2014 03:52:23 +0000 (03:52 +0000)
committerPrachi Godbole <prachigodbole@gcc.gnu.org>
Wed, 26 Nov 2014 03:52:23 +0000 (03:52 +0000)
* config/mips/mips.c (mips_rtx_cost_data): Fix memory_latency cost
for p5600.

From-SVN: r218072

ChangeLog
gcc/config/mips/mips.c

index 6dd71f13ea9d51c92ae8e6086c6d4608a18474f9..409485c3b9014315afb5ebceca9cab7c0c6c7cb4 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2014-11-26  Prachi Godbole  <prachi.godbole@imgtec.com>
+
+       * config/mips/mips.c (mips_rtx_cost_data): Fix memory_latency cost
+       for p5600.
+
 2014-11-24  Bernd Edlinger  <bernd.edlinger@hotmail.de>
 
        * Makefile.def (module=gmp): Work around in-tree gmp configure bug with
index dad63eb3ed72cbb32c07f3d3787f72fa687178bb..5a53d5fefc93c9fa5aeb9b5fd1ec3aa40a2b87c5 100644 (file)
@@ -1224,7 +1224,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 */
   }
 };
 \f