[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 3/7] tcg-hppa: Implement deposit operation.
From: |
Richard Henderson |
Subject: |
Re: [Qemu-devel] [PATCH 3/7] tcg-hppa: Implement deposit operation. |
Date: |
Fri, 07 Jan 2011 15:41:32 -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/07/2011 03:35 PM, Stuart Brady wrote:
>> +static inline void tcg_out_depi(TCGContext *s, int ret, int arg,
> ^^^
>> + unsigned ofs, unsigned len)
>> +{
>> + assert(ofs < 32 && len <= 32 - ofs);
>> + tcg_out32(s, INSN_DEPI | INSN_R2(ret) | INSN_IM5(val)
> ^^^
>
> The parameter should be named val, too.
Oops. It seems I failed to push that trivial change back from the gcc farm
test box.
>> + if (const_args[1]) {
>
> Surely const_args[1] && arg1 == 0?
This is implied by the "Z" constraint used.
r~
- [Qemu-devel] [PATCH 0/7] Define "deposit" tcg operation, Richard Henderson, 2011/01/07
- [Qemu-devel] [PATCH 6/7] target-i386: Use deposit operation., Richard Henderson, 2011/01/07
- [Qemu-devel] [PATCH 3/7] tcg-hppa: Implement deposit operation., Richard Henderson, 2011/01/07
- [Qemu-devel] [PATCH 7/7] target-ppc: Use deposit operation., Richard Henderson, 2011/01/07
- [Qemu-devel] [PATCH 4/7] tcg-ia64: Implement deposit operation., Richard Henderson, 2011/01/07
- [Qemu-devel] [PATCH 5/7] tcg-i386: Implement deposit operation., Richard Henderson, 2011/01/07
- Re: [Qemu-devel] Re: [PATCH 5/7] tcg-i386: Implement deposit operation., Aurelien Jarno, 2011/01/10