peterdelevoryas / rpms / qemu

Forked from rpms/qemu 2 years ago
Clone

Blame 0081-tcg-sparc-Hack-in-qemu_ld-st64-for-32-bit.patch

5544c1
From da65fa6c51ef1c999ffc75a162e95285d4cb915b Mon Sep 17 00:00:00 2001
5544c1
From: Richard Henderson <rth@twiddle.net>
5544c1
Date: Sat, 24 Mar 2012 21:30:20 +0100
5544c1
Subject: [PATCH] tcg-sparc: Hack in qemu_ld/st64 for 32-bit.
5544c1
5544c1
Not actually implemented, but at least we avoid the tcg assert at startup.
5544c1
5544c1
Signed-off-by: Richard Henderson <rth@twiddle.net>
5544c1
Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
5544c1
---
5544c1
 tcg/sparc/tcg-target.c | 3 +++
5544c1
 1 file changed, 3 insertions(+)
5544c1
5544c1
diff --git a/tcg/sparc/tcg-target.c b/tcg/sparc/tcg-target.c
5544c1
index baed3b4..608fc46 100644
5544c1
--- a/tcg/sparc/tcg-target.c
5544c1
+++ b/tcg/sparc/tcg-target.c
5544c1
@@ -1556,6 +1556,9 @@ static const TCGTargetOpDef sparc_op_defs[] = {
5544c1
 
5544c1
     { INDEX_op_brcond_i64, { "r", "rJ" } },
5544c1
     { INDEX_op_setcond_i64, { "r", "r", "rJ" } },
5544c1
+#else
5544c1
+    { INDEX_op_qemu_ld64, { "L", "L", "L" } },
5544c1
+    { INDEX_op_qemu_st64, { "L", "L", "L" } },
5544c1
 #endif
5544c1
     { -1 },
5544c1
 };
5544c1
-- 
5544c1
1.7.12.1
5544c1