Received: from eggs.gnu.org ([140.186.70.92]:43523) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1REhIa-00027B-BC for qemu-devel@nongnu.org; Fri, 14 Oct 2011 08:55:41 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1REhIZ-0006eg-5B for qemu-devel@nongnu.org; Fri, 14 Oct 2011 08:55:40 -0400 Received: from indium.canonical.com ([91.189.90.7]:55770) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1REhIY-0006eX-TP for qemu-devel@nongnu.org; Fri, 14 Oct 2011 08:55:39 -0400 Received: from loganberry.canonical.com ([91.189.90.37]) by indium.canonical.com with esmtp (Exim 4.71 #1 (Debian)) id 1REhIY-0001EK-44 for ; Fri, 14 Oct 2011 12:55:38 +0000 Received: from loganberry.canonical.com (localhost [127.0.0.1]) by loganberry.canonical.com (Postfix) with ESMTP id 17FE72E80D5 for ; Fri, 14 Oct 2011 12:55:38 +0000 (UTC) MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Date: Fri, 14 Oct 2011 12:47:25 -0000 From: Peter Maydell Sender: bounces@canonical.com References: <20111014101706.13992.73411.malonedeb@wampee.canonical.com> Message-Id: <20111014124725.929.44636.malone@gac.canonical.com> Errors-To: bounces@canonical.com Subject: [Qemu-devel] [Bug 874038] Re: ARM thumb2 does not propogate carry flag properly Reply-To: Bug 874038 <874038@bugs.launchpad.net> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org The existing code looks OK to me -- there's no need to call gen_set_CF_bit31() early because the inputs t0 and t1 to gen_thumb2_data_op() should always be distinct TCG values, and so gen_thumb2_data_op() will never trash t1. (There was a bug in this area involving ORN, but that was fixed in rev 29501f1, and I can see from your patch that you have that fix.) Can you clarify which exact instruction, input data and output data case this patch is intended to fix, please? -- = You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/874038 Title: ARM thumb2 does not propogate carry flag properly Status in QEMU: New Bug description: information on carry flag is lost if gen_set_CF_bit31(t1) is called after logic operation. To manage notifications about this bug go to: https://bugs.launchpad.net/qemu/+bug/874038/+subscriptions