This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Improvements of the haifa scheduler


Andrew Pinski wrote:

On 3/4/07, Vladimir N. Makarov <vmakarov@redhat.com> wrote:

Another important thing to do is to make the 1st scheduler register
pressure sensitive.


I don't know how many times this has to be said, no this is not the
correct approach to fix that issue.  The correct fix is able for the
register allocator to work correctly and fix up the IR.

I am not agree. Fixing it in RA after insn with hard register moved will result in several additional insns of course unless you implement moving insns in RA which makes it an insn scheduler. Also fixing this in the reload is much more difficult task (needs more expertise) than in the insn scheduler. Ideally integrated RA and scheduler (and code selection) would be best solution but it is not realistic becuase even after many years gcc has no decent separate scheduler and RA.



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]