diff options
author | Aurelien Jarno <aurelien@aurel32.net> | 2017-06-01 00:01:10 +0200 |
---|---|---|
committer | Richard Henderson <rth@twiddle.net> | 2017-06-06 15:20:42 -0700 |
commit | 256dab6fe8872a041823a18e78d7d7a86d0e9618 (patch) | |
tree | 029630809c289dfa91baa26a0398c9bb2342b85c /target/s390x/translate.c | |
parent | 6c9deca8a1f7008b551dedcc9bde599c428dfd07 (diff) | |
download | qemu-256dab6fe8872a041823a18e78d7d7a86d0e9618.zip qemu-256dab6fe8872a041823a18e78d7d7a86d0e9618.tar.gz qemu-256dab6fe8872a041823a18e78d7d7a86d0e9618.tar.bz2 |
target/s390x: implement MOVE NUMERICS
Reviewed-by: Richard Henderson <rth@twiddle.net>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
Message-Id: <20170531220129.27724-12-aurelien@aurel32.net>
Signed-off-by: Richard Henderson <rth@twiddle.net>
Diffstat (limited to 'target/s390x/translate.c')
-rw-r--r-- | target/s390x/translate.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/target/s390x/translate.c b/target/s390x/translate.c index a9b96e7..7b42c02 100644 --- a/target/s390x/translate.c +++ b/target/s390x/translate.c @@ -2988,6 +2988,14 @@ static ExitStatus op_mvcs(DisasContext *s, DisasOps *o) } #endif +static ExitStatus op_mvn(DisasContext *s, DisasOps *o) +{ + TCGv_i32 l = tcg_const_i32(get_field(s->fields, l1)); + gen_helper_mvn(cpu_env, l, o->addr1, o->in2); + tcg_temp_free_i32(l); + return NO_EXIT; +} + static ExitStatus op_mvpg(DisasContext *s, DisasOps *o) { gen_helper_mvpg(cc_op, cpu_env, regs[0], o->in1, o->in2); |