This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: VLIW pack and DFA scheduler:Register sharing question


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



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]