From 14c999d4fe801db09587fd936efc698202e207f2 Mon Sep 17 00:00:00 2001 From: Julian Seward Date: Wed, 22 Nov 2006 23:31:37 +0000 Subject: [PATCH] Specialise computation of carry flag after ADDL. git-svn-id: svn://svn.valgrind.org/vex/trunk@1683 --- VEX/priv/guest-x86/ghelpers.c | 7 +++++++ 1 file changed, 7 insertions(+) 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"); -- 2.47.2