aboutsummaryrefslogtreecommitdiff
path: root/target-s390x/translate.c
diff options
context:
space:
mode:
authorRichard Henderson <rth@twiddle.net>2013-09-20 15:34:34 -0700
committerRichard Henderson <rth@twiddle.net>2015-02-03 12:06:37 -0800
commit0774710f1bd052b05cc68ca3af06d8fc1a65664b (patch)
tree6d0323058be5fe513a78defed027a58603b6d733 /target-s390x/translate.c
parent9c3fd85b142f244ac1900b9da02f2d733d03c1b1 (diff)
target-s390: Implement ECAG
Signed-off-by: Richard Henderson <rth@twiddle.net>
Diffstat (limited to 'target-s390x/translate.c')
-rw-r--r--target-s390x/translate.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/target-s390x/translate.c b/target-s390x/translate.c
index b7b74ea759..e7a6c1d621 100644
--- a/target-s390x/translate.c
+++ b/target-s390x/translate.c
@@ -2045,6 +2045,13 @@ static ExitStatus op_ear(DisasContext *s, DisasOps *o)
return NO_EXIT;
}
+static ExitStatus op_ecag(DisasContext *s, DisasOps *o)
+{
+ /* No cache information provided. */
+ tcg_gen_movi_i64(o->out, -1);
+ return NO_EXIT;
+}
+
static ExitStatus op_efpc(DisasContext *s, DisasOps *o)
{
tcg_gen_ld32u_i64(o->out, cpu_env, offsetof(CPUS390XState, fpc));