summaryrefslogtreecommitdiffstats
path: root/tcg/mips/tcg-target.h
diff options
context:
space:
mode:
authorRichard Henderson2016-11-16 09:23:28 +0100
committerRichard Henderson2017-01-10 17:06:11 +0100
commit0e28d0063bbd9e59a981ea2d20f82f30c5d956a8 (patch)
tree6e4a705fef28f5ffc5ab828ca9abcc13f5097927 /tcg/mips/tcg-target.h
parenttcg: Allow an operand to be matching or a constant (diff)
downloadqemu-0e28d0063bbd9e59a981ea2d20f82f30c5d956a8.tar.gz
qemu-0e28d0063bbd9e59a981ea2d20f82f30c5d956a8.tar.xz
qemu-0e28d0063bbd9e59a981ea2d20f82f30c5d956a8.zip
tcg: Add clz and ctz opcodes
Reviewed-by: Alex Bennée <alex.bennee@linaro.org> Signed-off-by: Richard Henderson <rth@twiddle.net>
Diffstat (limited to 'tcg/mips/tcg-target.h')
-rw-r--r--tcg/mips/tcg-target.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/tcg/mips/tcg-target.h b/tcg/mips/tcg-target.h
index 92d203aca8..06988cf29e 100644
--- a/tcg/mips/tcg-target.h
+++ b/tcg/mips/tcg-target.h
@@ -121,6 +121,8 @@ extern bool use_mips32r2_instructions;
#define TCG_TARGET_HAS_rem_i32 1
#define TCG_TARGET_HAS_not_i32 1
#define TCG_TARGET_HAS_nor_i32 1
+#define TCG_TARGET_HAS_clz_i32 0
+#define TCG_TARGET_HAS_ctz_i32 0
#define TCG_TARGET_HAS_andc_i32 0
#define TCG_TARGET_HAS_orc_i32 0
#define TCG_TARGET_HAS_eqv_i32 0