This is the mail archive of the
mailing list for the GCC project.
Combined top-down and bottom-up instruction scheduler
- From: Aditya K <hiraditya at msn dot com>
- To: "gcc at gcc dot gnu dot org" <gcc at gcc dot gnu dot org>
- Cc: "vmakarov at redhat dot com" <vmakarov at redhat dot com>, "law at redhat dot com" <law at redhat dot com>
- Date: Tue, 8 Sep 2015 18:39:19 +0000
- Subject: Combined top-down and bottom-up instruction scheduler
- Authentication-results: sourceware.org; auth=none
IIUC, in the haifa-sched.c, the default scheduling algorithm seems to be top-down (before reload).
Is there a way to schedule the other way (bottom up), or both ways?
As a use case for bottom-up or some other heuristic:
Currently, the first priority in the selection is given to the longest path, in some cases this may produce code with stalls at the end of the basic block. Whereas in the case of combined top-down + bottom-up scheduling we would end up having stalls in the middle of the basic block.