From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:40484) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VoKxP-0007vf-5B for qemu-devel@nongnu.org; Wed, 04 Dec 2013 17:30:16 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VoKxJ-0007YG-7w for qemu-devel@nongnu.org; Wed, 04 Dec 2013 17:30:11 -0500 Received: from mail-yh0-x235.google.com ([2607:f8b0:4002:c01::235]:52063) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VoKxJ-0007WM-3d for qemu-devel@nongnu.org; Wed, 04 Dec 2013 17:30:05 -0500 Received: by mail-yh0-f53.google.com with SMTP id b20so11860789yha.40 for ; Wed, 04 Dec 2013 14:30:04 -0800 (PST) Sender: Richard Henderson Message-ID: <529FACE0.4030905@twiddle.net> Date: Thu, 05 Dec 2013 11:29:52 +1300 From: Richard Henderson MIME-Version: 1.0 References: <1386185609-25505-1-git-send-email-peter.maydell@linaro.org> <1386185609-25505-9-git-send-email-peter.maydell@linaro.org> <529FA4BB.6030601@twiddle.net> In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH v2 08/12] target-arm: A64: add support for B and BL insns List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Peter Maydell Cc: Patch Tracking , Michael Matz , Alexander Graf , QEMU Developers , C Fontana , Dirk Mueller , Laurent Desnogues , "kvmarm@lists.cs.columbia.edu" On 12/05/2013 11:14 AM, Peter Maydell wrote: > On 4 December 2013 21:55, Richard Henderson wrote: >> On 12/05/2013 08:33 AM, Peter Maydell wrote: >>> @@ -680,6 +720,7 @@ void gen_intermediate_code_internal_a64(ARMCPU *cpu, >>> dc->condjmp = 0; >>> >>> dc->aarch64 = 1; >>> + dc->tmp_a64_count = 0; >>> dc->thumb = 0; >>> dc->bswap_code = 0; >>> dc->condexec_mask = 0; >> >> Still no initialization of ->tmp_a64[]? > > It doesn't need initialization, does it? It's a static array, and we > fill it as new temps are requested. So all we need to do is clear > the count so it starts "empty". Or have I missed something? Well, barring bugs, no. But I suggested clearing to TCGV_UNUSED for --enable-tcg-debug at minimum so as to catch those. r~