On Thu, Oct 16, 2014 at 6:00 AM, Pranith Kumar <bobby.pr...@gmail.com> 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