From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:57288) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vtl7V-00041N-TE for qemu-devel@nongnu.org; Thu, 19 Dec 2013 16:27:10 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Vtl7N-0001HW-CS for qemu-devel@nongnu.org; Thu, 19 Dec 2013 16:27:01 -0500 Received: from mail-qc0-x231.google.com ([2607:f8b0:400d:c01::231]:49252) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vtl7N-0001HS-87 for qemu-devel@nongnu.org; Thu, 19 Dec 2013 16:26:53 -0500 Received: by mail-qc0-f177.google.com with SMTP id m20so1482001qcx.36 for ; Thu, 19 Dec 2013 13:26:52 -0800 (PST) Sender: Richard Henderson Message-ID: <52B36497.6010405@twiddle.net> Date: Thu, 19 Dec 2013 13:26:47 -0800 From: Richard Henderson MIME-Version: 1.0 References: <1387293144-11554-1-git-send-email-peter.maydell@linaro.org> <1387293144-11554-18-git-send-email-peter.maydell@linaro.org> <52B35F6D.9050809@twiddle.net> In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH 17/21] target-arm: A64: add support for conditional compare insns List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Peter Maydell Cc: Patch Tracking , Michael Matz , QEMU Developers , Claudio Fontana , Dirk Mueller , Will Newton , Laurent Desnogues , =?UTF-8?B?QWxleCBCZW5uw6ll?= , "kvmarm@lists.cs.columbia.edu" , Christoffer Dall On 12/19/2013 01:23 PM, Peter Maydell wrote: > Hmm. I clearly don't entirely understand the rules here. > The TCG README says "temporaries are only live > in a basic block" and "After the end of a basic block, the > content of temporaries is destroyed", which I took to > mean that the value in the temp was dead after the > branch, but that I could freely reuse it for something > else afterwards as long as I wrote a new value to > it (as we're doing here). I guess that's wrong? You need to re-allocate it in each basic block. We don't have enough tcg checking to find errors like this. r~