How to fill delay slot for a VLIW target?

Jim Wilson wilson@tuliptree.org
Wed Jun 11 19:53:00 GMT 2003


Jeff Chen wrote:
> 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?

I think you will have problems getting this to work the way you want it 
to, unless you spend time rewriting parts of reorg.c.  define_delay can 
handle multiple instructions in a very limited way, but there is no 
support for variable number of instructions.

Another option is writing your own target dependent pass using 
machine_dependent_reorg.  We try to discourage people from trying to 
write machine dependent passes, but for a case like this, it might be 
reasonable.

Jim




More information about the Gcc mailing list