Re: NOPs inserting problem in GCC 4.1.x

2006-03-20 Thread Ian Lance Taylor
"Ling-hua Tseng" <[EMAIL PROTECTED]> writes: > Because I need to use the feature of `length' attribute (i.e., use > get_attr_length() in machine description), > I have to insert NOPs explicitly before performing the pass 58 > (shorten) such that the shorten pass can calculate the length of insns

Re: NOPs inserting problem in GCC 4.1.x

2006-03-19 Thread Ling-hua Tseng
Sorry. The example of previous post was wrong. I just corrected it in this post. I'm porting GCC 4.1.1 to a VLIW processor. The processor couldn't solve any hazards itself so we should insert explicit NOPs after insn scheduling. I have implemented this functionality in the hook `TARGET_MACHINE

NOPs inserting problem in GCC 4.1.x

2006-03-19 Thread Ling-hua Tseng
I'm porting GCC 4.1.1 to a VLIW processor. The processor couldn't solve any hazards itself so we should insert explicit NOPs after insn scheduling. I have implemented this functionality in the hook `TARGET_MACHINE_DEPENDENT_REORG' (pass 52: mach). Then I noticed that the pass 56 (split3) will el