qemu-devel
[Top][All Lists]
Advanced

[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~



reply via email to

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