[Top][All Lists]
[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~
- [Qemu-devel] [PATCH 0/7] Define "deposit" tcg operation, v2, Richard Henderson, 2011/01/10
- [Qemu-devel] [PATCH 7/7] target-ppc: Use deposit operation., Richard Henderson, 2011/01/10
- [Qemu-devel] [PATCH 6/7] target-i386: Use deposit operation., Richard Henderson, 2011/01/10
- [Qemu-devel] [PATCH 1/7] tcg: Define "deposit" as an optional operation., Richard Henderson, 2011/01/10
- [Qemu-devel] [PATCH 3/7] tcg-hppa: Implement deposit operation., Richard Henderson, 2011/01/10
- [Qemu-devel] [PATCH 4/7] tcg-ia64: Implement deposit operation., Richard Henderson, 2011/01/10