summaryrefslogtreecommitdiffstats
path: root/tcg/tci
diff options
context:
space:
mode:
authorRichard Henderson2012-09-21 19:13:34 +0200
committerAurelien Jarno2012-09-21 19:53:16 +0200
commitffc5ea09afb8f9487ed9d660f54a492889a067c7 (patch)
treed71996e99aa2f1ed712bb9b7156d2fa7fdc269f5 /tcg/tci
parenttarget-sh4: remove useless code (diff)
downloadqemu-ffc5ea09afb8f9487ed9d660f54a492889a067c7.tar.gz
qemu-ffc5ea09afb8f9487ed9d660f54a492889a067c7.tar.xz
qemu-ffc5ea09afb8f9487ed9d660f54a492889a067c7.zip
tcg: Introduce movcond
Implemented with setcond if the target does not provide the optional opcode. Signed-off-by: Richard Henderson <rth@twiddle.net> Signed-off-by: Aurelien Jarno <aurelien@aurel32.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 30a0f21596..6d894953aa 100644
--- a/tcg/tci/tcg-target.h
+++ b/tcg/tci/tcg-target.h
@@ -75,6 +75,7 @@
#define TCG_TARGET_HAS_not_i32 1
#define TCG_TARGET_HAS_orc_i32 0
#define TCG_TARGET_HAS_rot_i32 1
+#define TCG_TARGET_HAS_movcond_i32 0
#if TCG_TARGET_REG_BITS == 64
#define TCG_TARGET_HAS_bswap16_i64 1
@@ -98,6 +99,7 @@
#define TCG_TARGET_HAS_not_i64 1
#define TCG_TARGET_HAS_orc_i64 0
#define TCG_TARGET_HAS_rot_i64 1
+#define TCG_TARGET_HAS_movcond_i64 0
#endif /* TCG_TARGET_REG_BITS == 64 */
/* Offset to user memory in user mode. */