Hi, I've committed the attached patch which fixes a 4.8 vs 4.9/5.0 performance regression introduced with the aggressive use of FPRs as spill slots.
Committed to mainline and 4.9 branch. Bye, -Andreas- 2015-01-27 Andreas Krebbel <andreas.kreb...@de.ibm.com> * config/s390/s390.c (s390_memory_move_cost): Increase costs for memory accesses. diff --git a/gcc/config/s390/s390.c b/gcc/config/s390/s390.c index 1409fa8..9c67157 100644 --- a/gcc/config/s390/s390.c +++ b/gcc/config/s390/s390.c @@ -2434,7 +2434,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