Skip to contentSkip to conversation

qemu tcg: Remove one entry of INDEX_op_ld_i64 from ppc_op_defs

PATCH Applied David Gibson 2 participants 2 messages Mar 29, 2012

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 qemu tcg: Remove one entry of INDEX_op_ld_i64 from ppc_op_defs

From: Li Zhang <[email protected]>

There two entries of INDEX_op_ld_i64 in the ppc_op_defs. That causes an assertion failure in tcg_add_target_add_op_defs() when --enable-debug is used on a ppc64 backend (that's ppc64 host, not target).

---
 tcg/ppc64/tcg-target.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
tcg/ppc64/tcg-target.c +0 -1
index 409a1ac..f2ad9e3 100644
@@ -1656,7 +1656,6 @@ static const TCGTargetOpDef ppc_op_defs[] = {
     { INDEX_op_ld16s_i64, { "r", "r" } },
     { INDEX_op_ld32u_i64, { "r", "r" } },
     { INDEX_op_ld32s_i64, { "r", "r" } },
-    { INDEX_op_ld_i64, { "r", "r" } },
 
     { INDEX_op_add_i32, { "r", "r", "ri" } },
     { INDEX_op_mul_i32, { "r", "r", "ri" } },
Signature · 1 line
1.7.9.1
Applied
#1 lore raw
Quoted 6 lines · David Gibson

From: Li Zhang <[email protected]>

There two entries of INDEX_op_ld_i64 in the ppc_op_defs. That causes an assertion failure in tcg_add_target_add_op_defs() when --enable-debug is used on a ppc64 backend (that's ppc64 host, not target).

Thanks, applied.

[..snip..]

Signature · 1 line
mailto:[email protected]