aboutsummaryrefslogtreecommitdiff
path: root/target-s390x
diff options
context:
space:
mode:
authorAurelien Jarno <aurelien@aurel32.net>2015-06-21 18:51:08 +0200
committerAlexander Graf <agraf@suse.de>2015-07-07 17:51:47 +0200
commitc9c19b493286db7358f9ee26401b927bbbd21604 (patch)
tree413338956fe29c2bc32ff5a223120b1a082a35da /target-s390x
parentb5edcddda31b464e73cc0a79e88457e603c3b247 (diff)
downloadqemu-c9c19b493286db7358f9ee26401b927bbbd21604.zip
qemu-c9c19b493286db7358f9ee26401b927bbbd21604.tar.gz
qemu-c9c19b493286db7358f9ee26401b927bbbd21604.tar.bz2
target-s390x: fix EXECUTE instruction executing TRT
A break is missing in the EXECUTE instruction, when executing the TRANSLATE AND TEST instruction. Reported-by: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: Aurelien Jarno <aurelien@aurel32.net> Reviewed-By: Richard Henderson <rth@twiddle.net> Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'target-s390x')
-rw-r--r--target-s390x/mem_helper.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/target-s390x/mem_helper.c b/target-s390x/mem_helper.c
index 9f0eb1e..6f8bd79 100644
--- a/target-s390x/mem_helper.c
+++ b/target-s390x/mem_helper.c
@@ -482,6 +482,7 @@ uint32_t HELPER(ex)(CPUS390XState *env, uint32_t cc, uint64_t v1,
case 0xc00:
helper_tr(env, l, get_address(env, 0, b1, d1),
get_address(env, 0, b2, d2));
+ break;
case 0xd00:
cc = helper_trt(env, l, get_address(env, 0, b1, d1),
get_address(env, 0, b2, d2));