aboutsummaryrefslogtreecommitdiff
path: root/tcg/tci/tcg-target.h
diff options
context:
space:
mode:
authorRichard Henderson <richard.henderson@linaro.org>2021-01-27 20:30:00 -1000
committerRichard Henderson <richard.henderson@linaro.org>2021-02-05 10:24:14 -1000
commitae40c098ac637b51ccf350d70765e76129b838a5 (patch)
tree07165bc1f82aae7671785e1edc220cab22ad0221 /tcg/tci/tcg-target.h
parent7abd007cbc145c1f3745c6b1ca0deea2ef5c8591 (diff)
downloadqemu-ae40c098ac637b51ccf350d70765e76129b838a5.zip
qemu-ae40c098ac637b51ccf350d70765e76129b838a5.tar.gz
qemu-ae40c098ac637b51ccf350d70765e76129b838a5.tar.bz2
tcg/tci: Implement 64-bit division
Trivially implemented like other arithmetic. Tested via check-tcg and the ppc64 target. Tested-by: Alex Bennée <alex.bennee@linaro.org> Reviewed-by: Alex Bennée <alex.bennee@linaro.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'tcg/tci/tcg-target.h')
-rw-r--r--tcg/tci/tcg-target.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/tcg/tci/tcg-target.h b/tcg/tci/tcg-target.h
index bb784e0..7fc349a 100644
--- a/tcg/tci/tcg-target.h
+++ b/tcg/tci/tcg-target.h
@@ -100,8 +100,8 @@
#define TCG_TARGET_HAS_extract_i64 0
#define TCG_TARGET_HAS_sextract_i64 0
#define TCG_TARGET_HAS_extract2_i64 0
-#define TCG_TARGET_HAS_div_i64 0
-#define TCG_TARGET_HAS_rem_i64 0
+#define TCG_TARGET_HAS_div_i64 1
+#define TCG_TARGET_HAS_rem_i64 1
#define TCG_TARGET_HAS_ext8s_i64 1
#define TCG_TARGET_HAS_ext16s_i64 1
#define TCG_TARGET_HAS_ext32s_i64 1