[PATCH] rs6000: Refactor scheduling hook code

Segher Boessenkool segher@kernel.crashing.org
Tue Nov 19 00:46:00 GMT 2019


Hi!

On Mon, Nov 18, 2019 at 03:24:56PM -0600, Pat Haugen wrote:
> The following patch factors out some common code to its own function and also moves the Power6 specific code to a new function.

If you had done the latter as a separate (earlier) patch, it would be
easier to review: now it is pretty hard to check if the changes to the
power6 code are correct.  I'll just trust you got it right, the power9
part looks fine, so okay for trunk.  Thanks!


Segher


> 2019-11-18  Pat Haugen  <pthaugen@us.ibm.com>
> 
> 	* config/rs6000/rs6000.c (move_to_end_of_ready): New, factored out
> 	from common code.
> 	(power6_sched_reorder2): Factored out from rs6000_sched_reorder2,
> 	call new function.
> 	(power9_sched_reorder2): Call new function.
> 	(rs6000_sched_reorder2): Likewise.



More information about the Gcc-patches mailing list