Qemu ARM tcg problem
Laurent,
If I build with --enable-debug, I get an assertion on this linetcg/tcg.c: 983 assert(oarg < def->nb_oargs);
This happens because of this definitiontcg/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??
Signature · 4 lines
------------------------------------------------------------ Gary Thomas | Consulting for the MLB Associates | Embedded world ------------------------------------------------------------
Quoted 5 lines · Gary Thomas
Laurent,
If I build with --enable-debug, I get an assertion on this line
tcg/tcg.c: 983assert(oarg < def->nb_oargs);
Quoted 8 lines
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