tcg-sparc: Hack in qemu_ld/st64 for 32-bit.
authorRichard Henderson <rth@twiddle.net>
Sat, 24 Mar 2012 20:30:20 +0000 (21:30 +0100)
committerRichard Henderson <rth@twiddle.net>
Fri, 21 Sep 2012 20:02:15 +0000 (22:02 +0200)
Not actually implemented, but at least we avoid the tcg assert at startup.

Signed-off-by: Richard Henderson <rth@twiddle.net>
tcg/sparc/tcg-target.c

index baed3b4..608fc46 100644 (file)
@@ -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 },
 };