[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] Counting barrier instructions in ARM
From: |
Max Filippov |
Subject: |
Re: [Qemu-devel] Counting barrier instructions in ARM |
Date: |
Thu, 16 Oct 2014 06:12:01 +0400 |
On Thu, Oct 16, 2014 at 6:00 AM, Pranith Kumar <address@hidden> wrote:
>>> + tcg_gen_add_i32(cpu_fence_count, cpu_fence_count, 1);
>>
>> tcg_gen_addi_i32, as you're adding an immediate.
>> Enabling TCG debug would catch such errors.
>> Not sure if that will fix crashing, but it should improve accuracy (:
>
> I had that before the change to tcg_gen_add_i32 and the crashes were
> still there. But yes, this needs to be changed to use addi.
Got backtraces of your crashes?
> How do I enable the TCG debug build?
configure with --enable-debug-tcg swithch.
--
Thanks.
-- Max