[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [5645] target-alpha: fix locked loads/stores
From: |
Laurent Desnogues |
Subject: |
Re: [Qemu-devel] [5645] target-alpha: fix locked loads/stores |
Date: |
Mon, 10 Nov 2008 18:18:27 +0100 |
On Mon, Nov 10, 2008 at 6:07 PM, Krumme, Chris
<address@hidden> wrote:
>
>> TCGv addr = tcg_temp_new(TCG_TYPE_I64);
>> + if (local)
>> + addr = tcg_temp_local_new(TCG_TYPE_I64);
>> + else
>> + addr = tcg_temp_new(TCG_TYPE_I64);
>
> I don't fully understand how these things work, but for the non-local
> case you are calling tcg_temp_new twice.
You are right, the call in the declaration should be removed.
Laurent