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: Richard Henderson
Subject: [Qemu-devel] Re: [PATCH 2/7] tcg-ppc: Implement deposit operation.
Date: Tue, 11 Jan 2011 08:32:57 -0800
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.13) Gecko/20101209 Fedora/3.1.7-0.35.b3pre.fc14 Thunderbird/3.1.7

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.


r~



reply via email to

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