[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] Counting barrier instructions in ARM
From: |
Pranith Kumar |
Subject: |
Re: [Qemu-devel] Counting barrier instructions in ARM |
Date: |
Thu, 16 Oct 2014 12:05:46 -0400 |
On Wed, Oct 15, 2014 at 10:12 PM, Max Filippov <address@hidden> wrote:
> 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?
>
These bugs seem to be Heisenbugs. As Peter Maydell pointed out,
apparently multi-threaded user mode execution is not supported.
I will try to use system mode.
Thanks!
--
Pranith