summaryrefslogtreecommitdiffstats
path: root/tcg/s390/tcg-target.h
diff options
context:
space:
mode:
authorRichard Henderson2013-03-26 21:41:45 +0100
committerRichard Henderson2013-04-05 20:35:40 +0200
commit3790b9180a070eab619438dc0fd83de33ec8cbbd (patch)
tree65449b26e48d71b10d5c167371e073a7a88bac13 /tcg/s390/tcg-target.h
parenttcg-s390: Remove useless preprocessor conditions (diff)
downloadqemu-3790b9180a070eab619438dc0fd83de33ec8cbbd.tar.gz
qemu-3790b9180a070eab619438dc0fd83de33ec8cbbd.tar.xz
qemu-3790b9180a070eab619438dc0fd83de33ec8cbbd.zip
tcg-s390: Implement add2/sub2 opcodes
Signed-off-by: Richard Henderson <rth@twiddle.net>
Diffstat (limited to 'tcg/s390/tcg-target.h')
-rw-r--r--tcg/s390/tcg-target.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/tcg/s390/tcg-target.h b/tcg/s390/tcg-target.h
index 0929d550a2..da726bd5fd 100644
--- a/tcg/s390/tcg-target.h
+++ b/tcg/s390/tcg-target.h
@@ -65,8 +65,8 @@ typedef enum TCGReg {
#define TCG_TARGET_HAS_nor_i32 0
#define TCG_TARGET_HAS_deposit_i32 0
#define TCG_TARGET_HAS_movcond_i32 0
-#define TCG_TARGET_HAS_add2_i32 0
-#define TCG_TARGET_HAS_sub2_i32 0
+#define TCG_TARGET_HAS_add2_i32 1
+#define TCG_TARGET_HAS_sub2_i32 1
#define TCG_TARGET_HAS_mulu2_i32 0
#define TCG_TARGET_HAS_muls2_i32 0
@@ -90,8 +90,8 @@ typedef enum TCGReg {
#define TCG_TARGET_HAS_nor_i64 0
#define TCG_TARGET_HAS_deposit_i64 0
#define TCG_TARGET_HAS_movcond_i64 0
-#define TCG_TARGET_HAS_add2_i64 0
-#define TCG_TARGET_HAS_sub2_i64 0
+#define TCG_TARGET_HAS_add2_i64 1
+#define TCG_TARGET_HAS_sub2_i64 1
#define TCG_TARGET_HAS_mulu2_i64 0
#define TCG_TARGET_HAS_muls2_i64 0