s390.h: Make BRANCH_COST an option.
authorAndreas Krebbel <Andreas.Krebbel@de.ibm.com>
Thu, 26 Jan 2012 10:04:43 +0000 (10:04 +0000)
committerAndreas Krebbel <krebbel@gcc.gnu.org>
Thu, 26 Jan 2012 10:04:43 +0000 (10:04 +0000)
commit3d427cc1c8a0618874d8826acc1da7b392266081
tree3845fc40ddfc591db5e9a6054579c807a2ac7c89
parent2887732181ebf03ccc8d04521207b38437183cd9
s390.h: Make BRANCH_COST an option.

2012-01-26  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>

* config/s390/s390.h: Make BRANCH_COST an option.
* config/s390/s390.opt: New option -mbranch-cost.

2012-01-26  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>

* gcc.dg/pr46309.c: Set branch-cost to 2 for s390 and s390x.
* gcc.dg/pr44194-1.c: Disable since s390 returns structs always in
memory.
* gfortran.dg/reassoc_4.f: Force max-completely-peeled-insns to
the default value for s390 and s390x.

From-SVN: r183555
gcc/ChangeLog
gcc/config/s390/s390.h
gcc/config/s390/s390.opt
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/pr44194-1.c
gcc/testsuite/gcc.dg/pr46309.c
gcc/testsuite/gfortran.dg/reassoc_4.f