This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Question about filling multi delay slots
- From: "Amker.Cheng" <amker dot cheng at gmail dot com>
- To: gcc at gcc dot gnu dot org
- Date: Wed, 25 Nov 2009 22:34:53 +0800
- Subject: Question about filling multi delay slots
Hi All :
It's possible to define multi delay slots for branch insns by using
define_delay,
and different slot should satisfy its own attribute test "delay-n".
Here comes question, in function "fill_simple_delay_slots", seems
it only uses
slots_filled to record how many slots needs to fill, and puts slot
insns already found
in delay_list. I can't find any codes keeping the information about
which insn in
delay_list belongs to which slot(defined in "define_delay"). So, how does gcc
make sure that insns in delay_list go into right delay slot?
Thanks in advance.
--
Best Regards.