From: Paolo Bonzini <pbonz...@redhat.com> This is needed to run the GMP testsuite.
Reported-by: Torbjorn Granlund <torbjo...@google.com> Tested-by: Torbjorn Granlund <torbjo...@google.com> Signed-off-by: Paolo Bonzini <pbonz...@redhat.com> Signed-off-by: Richard Henderson <r...@twiddle.net> --- target-s390x/mem_helper.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/target-s390x/mem_helper.c b/target-s390x/mem_helper.c index 53bb629..d67b345 100644 --- a/target-s390x/mem_helper.c +++ b/target-s390x/mem_helper.c @@ -490,10 +490,18 @@ uint32_t HELPER(ex)(CPUS390XState *env, uint32_t cc, uint64_t v1, helper_mvc(env, l, get_address(env, 0, b1, d1), get_address(env, 0, b2, d2)); break; + case 0x400: + cc = helper_nc(env, l, get_address(env, 0, b1, d1), + get_address(env, 0, b2, d2)); + break; case 0x500: cc = helper_clc(env, l, get_address(env, 0, b1, d1), get_address(env, 0, b2, d2)); break; + case 0x600: + cc = helper_oc(env, l, get_address(env, 0, b1, d1), + get_address(env, 0, b2, d2)); + break; case 0x700: cc = helper_xc(env, l, get_address(env, 0, b1, d1), get_address(env, 0, b2, d2)); -- 2.1.0