S/390: Handle long-running instructions.
authorRobin Dapp <rdapp@linux.vnet.ibm.com>
Wed, 18 Oct 2017 09:10:09 +0000 (09:10 +0000)
committerRobin Dapp <rdapp@gcc.gnu.org>
Wed, 18 Oct 2017 09:10:09 +0000 (09:10 +0000)
commit67ba339309e7949cba2f27d3237156440d73d604
tree525ddcf69aded4837b88648b144047e78df00821
parentee077fcb8cdb4b4b54e4e7363eec401607c08c2c
S/390: Handle long-running instructions.

gcc/ChangeLog:

2017-10-18  Robin Dapp  <rdapp@linux.vnet.ibm.com>

* config/s390/s390.c (NUM_SIDES): New variable.
(LONGRUNNING_THRESHOLD): New variable.
(LATENCY_FACTOR): New variable.
(s390_sched_score): Decrease score for long-running instructions on
wrong side.
(s390_sched_variable_issue): Perform bookkeeping for long-running
instructions.

From-SVN: r253849
gcc/ChangeLog
gcc/config/s390/s390.c