qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] Re: Qemu ARM tcg problem


From: Laurent Desnogues
Subject: [Qemu-devel] Re: Qemu ARM tcg problem
Date: Fri, 25 Sep 2009 16:50:30 +0200

On Fri, Sep 25, 2009 at 4:26 PM, Gary Thomas <address@hidden> wrote:
> Laurent,
>
> If I build with --enable-debug, I get an assertion on this line
> tcg/tcg.c: 983   assert(oarg < def->nb_oargs);
>
> This happens because of this definition
> tcg/arm/tcg-target.c: 1593     { INDEX_op_div2_i32, { "r", "r", "r", "1",
> "2" } },
>
> I'm not sure I totally understand these tables, but the assertion
> says that they may not be correct.
>
> Any clues??

This is buggy for sure.  Anyway given the associated generated
code also is buggy, my only advice for your needs is to remove
op_div2 and op_divu2 from arm_op_defs.  For you that'll be OK
since the i386 front-end doesn't generated these ops.

For the real fix, we'll see if anyone ever really needs it :-)


Laurent




reply via email to

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