VLIW pack and DFA scheduler:Register sharing question

tm_gccmail@kloo.net tm_gccmail@kloo.net
Wed May 26 10:21:00 GMT 2004


On Tue, 25 May 2004 mike@csdn.sign.idv.tw wrote:

...
>     following situitaion?
> 
>     add %r1,$24
>     add %r1,$28
> 
>     If the two asm instruction execute parallelly, the result
>     of r1 could not be known.

As far as I know, no.

The DFA scheduler does not do guarantee certain restrictions. It assumes
an interlocked pipelined processor where resource contention results in 
pipeline stalls, not incorrect data.

>     Could DFA scheduler automatically prevent this situiation?

No.

>     OR I have to add some codes to prevent this?

Yes, probably in machine-depedent reorg.

>     Please help. Thanks very much.
> 
> 
> Mike Wu

Toshi




More information about the Gcc mailing list