This is the mail archive of the
mailing list for the GCC project.
How to fill delay slot for a VLIW target?
- From: Jeff Chen <jeffchen at magima dot com dot cn>
- To: gcc at gcc dot gnu dot org
- Date: Wed, 11 Jun 2003 17:43:58 +0800
- Subject: How to fill delay slot for a VLIW target?
i am porting GCC for a VLIW target, the target has six slots, it can
issue at most 6 insns in one cycle. the branch, and call insn requires a
delay slot of one VLIW bundle. i want to use define_delay to handle
filling of delay slot. but define_delay can only describe insns which
need a FIXED number of delay slots, in my case, the number of insns in
the delay slot (which forms a VLIW bundle) may VARY.
it seems that GCC schedules delay slot on the basis of insn, not on VLIW
bundle, so is it possible to use define_delay for such a VLIW target?