s390.c (Z10_PREDICT_DISTANCE): New macro.
authorAndreas Krebbel <krebbel1@de.ibm.com>
Thu, 20 Aug 2009 09:21:13 +0000 (09:21 +0000)
committerAndreas Krebbel <krebbel@gcc.gnu.org>
Thu, 20 Aug 2009 09:21:13 +0000 (09:21 +0000)
commitb0f86a7e6ba69a2638b00efa758aec522046760a
treeafda1be14ded3ba00c068699a37d39589fa35754
parentf1149235142d434a76ceec242944c85c9749d3d4
s390.c (Z10_PREDICT_DISTANCE): New macro.

2009-08-20  Andreas Krebbel  <krebbel1@de.ibm.com>

* config/s390/s390.c (Z10_PREDICT_DISTANCE): New macro.
(s390_z10_fix_long_loop_prediction): New function.
(s390_z10_optimize_cmp): INSN walk moved to callee - s390_reorg.
(s390_reorg): Walk over the INSNs and invoke
s390_z10_fix_long_loop_prediction and s390_z10_optimize_cmp.

From-SVN: r150955
gcc/ChangeLog
gcc/config/s390/s390.c
gcc/config/s390/s390.md