From: Richard Henderson Date: Sat, 24 Mar 2012 20:30:20 +0000 (+0100) Subject: tcg-sparc: Hack in qemu_ld/st64 for 32-bit. X-Git-Tag: v1.2.1~161 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=ee13de285330be3c00ba0cef8b3fd65ad6b6e9e7;p=thirdparty%2Fqemu.git tcg-sparc: Hack in qemu_ld/st64 for 32-bit. Not actually implemented, but at least we avoid the tcg assert at startup. Signed-off-by: Richard Henderson Signed-off-by: Michael Roth --- diff --git a/tcg/sparc/tcg-target.c b/tcg/sparc/tcg-target.c index baed3b49ff9..608fc46dc06 100644 --- a/tcg/sparc/tcg-target.c +++ b/tcg/sparc/tcg-target.c @@ -1556,6 +1556,9 @@ static const TCGTargetOpDef sparc_op_defs[] = { { INDEX_op_brcond_i64, { "r", "rJ" } }, { INDEX_op_setcond_i64, { "r", "r", "rJ" } }, +#else + { INDEX_op_qemu_ld64, { "L", "L", "L" } }, + { INDEX_op_qemu_st64, { "L", "L", "L" } }, #endif { -1 }, };