From fb1a3f8f57e3f6a64da3557349a506044bd948e6 Mon Sep 17 00:00:00 2001 From: Andreas Krebbel Date: Tue, 27 Jan 2015 15:01:46 +0000 Subject: [PATCH] s390.c (s390_memory_move_cost): Increase costs for memory accesses. 2015-01-27 Andreas Krebbel * config/s390/s390.c (s390_memory_move_cost): Increase costs for memory accesses. From-SVN: r220169 --- gcc/ChangeLog | 5 +++++ gcc/config/s390/s390.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 2ed7e80912f..5642c5b3bba 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2015-01-27 Andreas Krebbel + + * config/s390/s390.c (s390_memory_move_cost): Increase costs for + memory accesses. + 2015-01-27 Andreas Krebbel * config/s390/s390.c (s390_register_move_cost): Increase costs for diff --git a/gcc/config/s390/s390.c b/gcc/config/s390/s390.c index 1cc4e4affe6..a95879915d8 100644 --- a/gcc/config/s390/s390.c +++ b/gcc/config/s390/s390.c @@ -2442,7 +2442,7 @@ s390_memory_move_cost (machine_mode mode ATTRIBUTE_UNUSED, reg_class_t rclass ATTRIBUTE_UNUSED, bool in ATTRIBUTE_UNUSED) { - return 1; + return 2; } /* Compute a (partial) cost for rtx X. Return true if the complete -- 2.30.2