Re: Question of 2nd instruction scheduling pass

2005-08-13 Thread James E Wilson
Ling-hua Tseng wrote: > Are there any ways to tell GCC that don't group an jump_insn with > other insns when structural hazard occured? Probably multiple ways, depending on what exactly the problem is. I'd suggest using -da -fsched-verbose=2 and looking at the scheduling info printed in the sched

Question of 2nd instruction scheduling pass

2005-08-12 Thread Ling-hua Tseng
I'm porting gcc-4.0.1 to a new VLIW architecture. I figured out that the `insn' and `jump_insn' were grouped together in the 2nd sched pass however there is a `structural hazard' between them. Such as the following code which generated by gcc -O3 -dP -S code.c: @(insn:TI 319 315 474 (set (reg/v:S