From: Florian Krohm Date: Wed, 25 Jul 2012 17:10:49 +0000 (+0000) Subject: Change IR generation for MVCLE to not generate cc=3. This should have been X-Git-Tag: svn/VALGRIND_3_8_1^2~30 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=884c730be80a3369fa0a3791e973f0ae5ae0356d;p=thirdparty%2Fvalgrind.git Change IR generation for MVCLE to not generate cc=3. This should have been included in r2446, but was not obvious to spot. git-svn-id: svn://svn.valgrind.org/vex/trunk@2448 --- diff --git a/VEX/priv/guest_s390_toIR.c b/VEX/priv/guest_s390_toIR.c index c63aebef40..94b5a630c2 100644 --- a/VEX/priv/guest_s390_toIR.c +++ b/VEX/priv/guest_s390_toIR.c @@ -9495,16 +9495,6 @@ s390_irgen_MVCLE(UChar r1, UChar r3, IRTemp pad2) mkite(binop(Iop_CmpEQ64, mkexpr(len3), mkU64(0)), mkU64(0), binop(Iop_Sub64, mkexpr(len3), mkU64(1)))); - /* We should set CC=3 (faked by overflow add) and leave after - a maximum of ~4096 bytes have been processed. This is simpler: - we leave whenever (len1 % 4096) == 0 */ - s390_cc_thunk_put2(S390_CC_OP_UNSIGNED_ADD_64, mktemp(Ity_I64, mkU64(-1ULL)), - mktemp(Ity_I64, mkU64(-1ULL)), False); - if_condition_goto(binop(Iop_CmpEQ64, - binop(Iop_And64, mkexpr(len1), mkU64(0xfff)), - mkU64(0)), - guest_IA_next_instr); - s390_cc_thunk_put2(S390_CC_OP_UNSIGNED_COMPARE, len1, len3, False); if_condition_goto(binop(Iop_CmpNE64, mkexpr(len1), mkU64(1)), guest_IA_curr_instr);