This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Attempt for rotating register allocation
- From: Chunjiang Li <chunjiang at nudt dot edu dot cn>
- To: gcc at gcc dot gnu dot org
- Date: Wed, 3 Aug 2005 10:45:31 +0800 (HKT)
- Subject: Attempt for rotating register allocation
- Reply-to: Chunjiang Li <chunjiang at nudt dot edu dot cn>
Hi, all
So far, using the dataflow info (gen with df.c and df.h), I can find out the pseudo registers use
and def in a one bb loop.
Now, need to establish a struct to record the lifetime activity of each pseudo register in a
software pipelined loop. According to this struct, we can allocate rotating registers to each
pseudo register used and defed in swp loops.
Although, rotating register allocation for swp in GCC may be interfered by the reg alloc process
in current GCC, which may result in failure.
I also want to try it. During this process, I can grasp more techniques in the back-end of GCC.
Needs advice and cooperations.
Chunjiang Li
Creative Compiler Research Group,
National University of Defense Technology, China.