qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: What this mean "dead: 1" and "dead: 0 1" on each tb block start?


From: Richard Henderson
Subject: Re: What this mean "dead: 1" and "dead: 0 1" on each tb block start?
Date: Wed, 29 Jul 2020 09:16:25 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0

On 7/29/20 7:27 AM, tugouxp wrote:
> HI folks:
>   on each tb block start, there are following ir code, and the most confusing
> me is that  the postfix of each line "dead:" flag, what it is represent 
> precisely?
> i guess it may be related to the register or varible liveness for help
> generating tghe target machine code, but i cant get the precisely connection 
> of
> the dead attrribute with qemu  internal varibles.
> for example, why the line 61 use "dead:1" and the line 63 use "dead: 0, 1"? 
> what is the precisely meaning of the number after the "dead:" word?
> 
> thank you!     
> 
> 
>     60 OP after optimization and liveness analysis:
> 
>      61  ld_i32 tmp5,env,$0xffffffffffffffec                 dead: 1
> 
>      62  movi_i32 tmp6,$0x0
> 
>      63  brcond_i32 tmp5,tmp6,lt,$L0                      dead: 0 1

The numbers are the index of the argument that is dead.

E.g. here, both tmp5 and tmp6 are dead.


r~



reply via email to

[Prev in Thread] Current Thread [Next in Thread]