[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: |
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
- [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
- [Qemu-devel] [PATCH 5/7] tcg-i386: Implement deposit operation., Richard Henderson, 2011/01/10