qemu-devel
[Top][All Lists]
Advanced

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

[Qemu-devel] Re: [PATCH 2/7] tcg-ppc: Implement deposit operation.


From: malc
Subject: [Qemu-devel] Re: [PATCH 2/7] tcg-ppc: Implement deposit operation.
Date: Tue, 11 Jan 2011 22:11:00 +0300 (MSK)
User-agent: Alpine 2.00 (LNX 1167 2008-08-23)

On Tue, 11 Jan 2011, Richard Henderson wrote:

> On 01/11/2011 04:40 AM, malc wrote:
> >> +            tcg_out32 (s, RLWIMI
> >> +                       | RA(args[0])
> >> +                       | RS(args[2])
> >> +                       | SH(lsb_ofs)
> >> +                       | MB(msb_ofs - len + 1)
> >> +                       | ME(msb_ofs));
> >> +        }
> ...
> >> +    { INDEX_op_deposit_i32, { "r", "0", "r" } },
> >>  
> > 
> > Are you sure about "0" constraint?
> 
> Yes, rlwimi inserts a value into the destination register.
> There is no second source register for the instruction.
> 

Indeed, nothing else uses "0" in tcg/ppc so it caught my attention.

-- 
mailto:address@hidden



reply via email to

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