aboutsummaryrefslogtreecommitdiff
path: root/target-s390x/insn-data.def
diff options
context:
space:
mode:
authorAurelien Jarno <aurelien@aurel32.net>2015-06-03 23:09:47 +0200
committerAlexander Graf <agraf@suse.de>2015-06-05 01:37:59 +0200
commit54f007750978ffbb98ce933077e0d1741e0202b0 (patch)
tree3b4cfd1d974255f0ffe2a200e2402b7567d060d0 /target-s390x/insn-data.def
parented0bcecec105137567f461e5b57834e72c851855 (diff)
downloadqemu-54f007750978ffbb98ce933077e0d1741e0202b0.zip
qemu-54f007750978ffbb98ce933077e0d1741e0202b0.tar.gz
qemu-54f007750978ffbb98ce933077e0d1741e0202b0.tar.bz2
target-s390x: implement TRANSLATE AND TEST instruction
It is part of the basic zArchitecture instructions. Allow it to be call from EXECUTE. Reviewed-by: Richard Henderson <rth@twiddle.net> Signed-off-by: Aurelien Jarno <aurelien@aurel32.net> Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'target-s390x/insn-data.def')
-rw-r--r--target-s390x/insn-data.def2
1 files changed, 2 insertions, 0 deletions
diff --git a/target-s390x/insn-data.def b/target-s390x/insn-data.def
index a12939d..e401754 100644
--- a/target-s390x/insn-data.def
+++ b/target-s390x/insn-data.def
@@ -759,6 +759,8 @@
/* TRANSLATE */
C(0xdc00, TR, SS_a, Z, la1, a2, 0, 0, tr, 0)
+/* TRANSLATE AND TEST */
+ C(0xdd00, TRT, SS_a, Z, la1, a2, 0, 0, trt, 0)
/* UNPACK */
/* Really format SS_b, but we pack both lengths into one argument