aboutsummaryrefslogtreecommitdiff
path: root/tcg/tci
diff options
context:
space:
mode:
authorRichard Henderson <rth@twiddle.net>2014-03-26 10:59:14 -0700
committerRichard Henderson <rth@twiddle.net>2014-04-18 16:57:37 -0700
commitdf9ebea53ebc1c98217743f56c30ae3a46031bb9 (patch)
treec0ca7191f6e26e1975e36ac180699742f3ae31d2 /tcg/tci
parent671c835b7dc12bfb3907c6af38f74073fe8fade9 (diff)
downloadqemu-df9ebea53ebc1c98217743f56c30ae3a46031bb9.zip
qemu-df9ebea53ebc1c98217743f56c30ae3a46031bb9.tar.gz
qemu-df9ebea53ebc1c98217743f56c30ae3a46031bb9.tar.bz2
tcg: Relax requirement for mulu2_i32 on 32-bit hosts
Instead require either mulu2_i32 or muluh_i32. The code in tcg-op.h already supports looking for both. Previous incomplete conversion? Signed-off-by: Richard Henderson <rth@twiddle.net>
Diffstat (limited to 'tcg/tci')
-rw-r--r--tcg/tci/tcg-target.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/tcg/tci/tcg-target.h b/tcg/tci/tcg-target.h
index 6e1da8c..7869119 100644
--- a/tcg/tci/tcg-target.h
+++ b/tcg/tci/tcg-target.h
@@ -118,6 +118,8 @@
#define TCG_TARGET_HAS_mulu2_i64 0
#define TCG_TARGET_HAS_muluh_i64 0
#define TCG_TARGET_HAS_mulsh_i64 0
+#else
+#define TCG_TARGET_HAS_mulu2_i32 1
#endif /* TCG_TARGET_REG_BITS == 64 */
#define TCG_TARGET_HAS_new_ldst 0