From: Julian Seward Date: Wed, 22 Nov 2006 23:31:37 +0000 (+0000) Subject: Specialise computation of carry flag after ADDL. X-Git-Tag: svn/VALGRIND_3_3_1^2~80 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=14c999d4fe801db09587fd936efc698202e207f2;p=thirdparty%2Fvalgrind.git Specialise computation of carry flag after ADDL. git-svn-id: svn://svn.valgrind.org/vex/trunk@1683 --- diff --git a/VEX/priv/guest-x86/ghelpers.c b/VEX/priv/guest-x86/ghelpers.c index ef9273dd02..3a490f2372 100644 --- a/VEX/priv/guest-x86/ghelpers.c +++ b/VEX/priv/guest-x86/ghelpers.c @@ -1263,6 +1263,13 @@ IRExpr* guest_x86_spechelper ( HChar* function_name, mkU32(1) ); } + if (isU32(cc_op, X86G_CC_OP_ADDL)) { + /* C after add denotes sum tag == Iex_Const) { vex_printf("CFLAG "); ppIRExpr(cc_op); vex_printf("\n");