diff options
author | David Hildenbrand <david@redhat.com> | 2017-09-28 22:37:07 +0200 |
---|---|---|
committer | Cornelia Huck <cohuck@redhat.com> | 2017-10-20 13:32:10 +0200 |
commit | f74990a5d019751c545e9800a3376b6336e77d38 (patch) | |
tree | f24a14fa7fea904873f9e2cba955130fbfaa5220 /target/s390x/translate.c | |
parent | 0fc60ca58aa250b4f11f8c69d0be097e0140e7df (diff) | |
download | qemu-f74990a5d019751c545e9800a3376b6336e77d38.zip qemu-f74990a5d019751c545e9800a3376b6336e77d38.tar.gz qemu-f74990a5d019751c545e9800a3376b6336e77d38.tar.bz2 |
s390x/tcg: refactor stfl(e) to use s390_get_feat_block()
Refactor it to use s390_get_feat_block(). Directly write into the mapped
lowcore with stfl and make sure it is really only compiled if needed.
While at it, add an alignment check for STFLE and avoid
potential_page_fault() by properly restoring the CPU state.
Due to s390_get_feat_block(), we will now also indicate the
"Configuration-z-architectural-mode", which is with new SIGP code the
right thing to do.
Signed-off-by: David Hildenbrand <david@redhat.com>
Message-Id: <20170928203708.9376-30-david@redhat.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Cornelia Huck <cohuck@redhat.com>
Diffstat (limited to 'target/s390x/translate.c')
-rw-r--r-- | target/s390x/translate.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/target/s390x/translate.c b/target/s390x/translate.c index 22e0f42..6ecf764 100644 --- a/target/s390x/translate.c +++ b/target/s390x/translate.c @@ -4143,7 +4143,6 @@ static ExitStatus op_sturg(DisasContext *s, DisasOps *o) static ExitStatus op_stfle(DisasContext *s, DisasOps *o) { - potential_page_fault(s); gen_helper_stfle(cc_op, cpu_env, o->in2); set_cc_static(s); return NO_EXIT; |