This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Modifying instruction flow during scheduling
- From: Frederic Riss <frederic dot riss at gmail dot com>
- To: gcc at gcc dot gnu dot org
- Date: Thu, 24 Mar 2011 10:41:46 +0100
- Subject: Modifying instruction flow during scheduling
Hi,
I would like to experiment with modifications to the instruction flow
during scheduling. One motivation for doing that is the combining of
contiguous loads like was discussed here:
http://gcc.gnu.org/ml/gcc/2010-12/msg00153.html
I've seen that the scheduler itself does some modifications to the
intruction flow to introduce the speculative form of the instructions,
but is it somehow prepared to modifications to the instructions from
the target hooks (TARGET_SCHED_REORDER) ? If yes, what are the
primitives that one should use to notify modifications? If no, what
would it take to make that possible?
Thanks,
Fred