From patchwork Sat Apr 8 02:42:51 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 671478 Delivered-To: patch@linaro.org Received: by 2002:a5d:4d08:0:0:0:0:0 with SMTP id z8csp608190wrt; Fri, 7 Apr 2023 19:50:22 -0700 (PDT) X-Google-Smtp-Source: AKy350Z7CcVkH0MNiWFC1e9JpfqabZbJEZavbBtyhu+zjlppo3Bv6X1snfQrhqUCrJgv+35XVEFJ X-Received: by 2002:ad4:5cec:0:b0:5e0:3825:9ad9 with SMTP id iv12-20020ad45cec000000b005e038259ad9mr2267661qvb.2.1680922222450; Fri, 07 Apr 2023 19:50:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680922222; cv=none; d=google.com; s=arc-20160816; b=M+F2RqOB6PyM1UUBOvtW33rRANCvNYn3e4C1wvxu0045jIo4Msd7whPdByw8trQlaj 3rAo5991jAD7CWqTIRdyecEyZeaBsB/jpY8pIwXk3aQxSxmTK86zR6V1C1NLB+aZdt7l AnXoLcmrYRJhgweTzLpEFf+EVZnME4lgGW3yMNOTDTv9pjNYxVj6GUAdJf1bpj5VJSvZ f8bX6yF4GW0ETz8B1NOEsLvXeVF5xGbqqoGZ8/Lt3v2G2SmbAnAQ0eiuR6G3+2YGdTOh Enj73n/XUGWJ691lPfT39PhY749XU7NuPEF0NzqvQfKenZfY3eoisFYPlomxmEYE9OyH 2leQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=fIirSFwi2yILi+El/t2TPjJhZKpm7okvdpXO8dD7jMw=; b=McYfkjVXRIOD3c9bhPofUivwE/nm6id5a1TYahDWvtxEmZp9tdakHId835J4/4/1af b+VE9cex+/P7m56MtNGkdCO/BJ+0lQHQjz7XadSJKMWUPXkSChbOPZ9sfDNcLG+T6lTB GTFsHxcC8Gg2IMJ68AXVgDerAWyA5bTsLv79ocnjQrGqn8BE8iMHnm+X5VH7Ebx/Whn7 19EvWbCnxtrmTernea8xZjrG5bgtdp+iANqzR7nX1VG9UvPBklgbvLZXt2JBav4+Gwgx 72u8TFinnRN6h39hgrErBiqox8vqlNyjpWDd7AKnecLATnKJr3lcHaJrmsgyOb6g59S6 kocg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=GZnDTfw+; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id az31-20020a05620a171f00b0074a03c7ec04si3912728qkb.611.2023.04.07.19.50.22 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Fri, 07 Apr 2023 19:50:22 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=GZnDTfw+; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pkyYa-0007hJ-1g; Fri, 07 Apr 2023 22:44:00 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pkyYX-0007e1-Ms for qemu-devel@nongnu.org; Fri, 07 Apr 2023 22:43:57 -0400 Received: from mail-pj1-x102b.google.com ([2607:f8b0:4864:20::102b]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pkyYA-0005hq-RC for qemu-devel@nongnu.org; Fri, 07 Apr 2023 22:43:57 -0400 Received: by mail-pj1-x102b.google.com with SMTP id v9so5046452pjk.0 for ; Fri, 07 Apr 2023 19:43:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1680921813; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=fIirSFwi2yILi+El/t2TPjJhZKpm7okvdpXO8dD7jMw=; b=GZnDTfw+ocGP8T9EweD/v0n75UlL02443JTIUxqAwOyd/QnRde6jlMnlyjuYQJUQC/ /jVp2HVxTV5uMmdf7qylbwGdZnHw2cPzp+YQi4pEUffws+ZvuRdfojhMLr326JhQ6yjX aCcaiejN9peWdMpeK3EXS/8pbslh+nxL6drKWL96qUpoS7xBR2inqGo9fnXy7E6fTgXV n/T3WoT+jhTPJPB0aOh/WKTKFZcB/IlJur9+7BjcfirVvbqQ592yefPM6pZjG1kxxD8Z oSqCnKq15X2iQiDoGvajZTZ2GWLKeoP3qJtLe81lUrvnaelV+sb5u0Mb6TlaG88EpcBF qCUw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680921813; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=fIirSFwi2yILi+El/t2TPjJhZKpm7okvdpXO8dD7jMw=; b=D6gymda61od+hvZ1BGvquON4BX8L/eSR1krb+btbYjMjNA0pq43Bge9WVHih1d/k5D /785MNvmNTd1UsaXfCI2SjzrZL1CqAfNr5aSPQAoYWoAW8nDqtEJMe6E3WYunLWLjwEl /klsBccAAoMJvRrM+ZlYOnoN+cMMGzEVsFEocCtEVxEHyt7nqISlq5a8deyfW2jFCOxf xzM3a5zCX55nzFhBoPF5W97TqsqBrZRKYXKAlfyNiohlPTHwTGEcqvYxoebfBkp5NBPq sn3M9jnDmL0zNo4YKY1yxCHEiv1HyJRCkrM9pgWGh5INvVWULy0M4mW0LOR4m+EcoCDB mXdg== X-Gm-Message-State: AAQBX9fM1iy4IaZI0tyhYqznyqM4OGkhC8VeXZIlKZZeheLY99wibwxn 7jSuyxIwVD6RltnAZMPVgIhRwY2oXg4PWhShYq4= X-Received: by 2002:a17:902:d093:b0:1a5:1e67:2500 with SMTP id v19-20020a170902d09300b001a51e672500mr511896plv.29.1680921813479; Fri, 07 Apr 2023 19:43:33 -0700 (PDT) Received: from stoup.. ([2602:ae:1541:f901:8bb4:5a9d:7ab7:b4b8]) by smtp.gmail.com with ESMTPSA id d9-20020a170902c18900b0019d397b0f18sm3530780pld.214.2023.04.07.19.43.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 07 Apr 2023 19:43:33 -0700 (PDT) From: Richard Henderson To: qemu-devel@nongnu.org Cc: qemu-arm@nongnu.org, qemu-s390x@nongnu.org, qemu-riscv@nongnu.org, qemu-ppc@nongnu.org Subject: [PATCH 19/42] tcg: Clear TCGLabelQemuLdst on allocation Date: Fri, 7 Apr 2023 19:42:51 -0700 Message-Id: <20230408024314.3357414-21-richard.henderson@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230408024314.3357414-1-richard.henderson@linaro.org> References: <20230408024314.3357414-1-richard.henderson@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2607:f8b0:4864:20::102b; envelope-from=richard.henderson@linaro.org; helo=mail-pj1-x102b.google.com X-Spam_score_int: 4 X-Spam_score: 0.4 X-Spam_bar: / X-Spam_report: (0.4 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, SUSPICIOUS_RECIPS=2.51 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.org Signed-off-by: Richard Henderson Reviewed-by: Philippe Mathieu-Daudé --- tcg/tcg-ldst.c.inc | 1 + 1 file changed, 1 insertion(+) diff --git a/tcg/tcg-ldst.c.inc b/tcg/tcg-ldst.c.inc index 6c6848d034..403cbb0f06 100644 --- a/tcg/tcg-ldst.c.inc +++ b/tcg/tcg-ldst.c.inc @@ -72,6 +72,7 @@ static inline TCGLabelQemuLdst *new_ldst_label(TCGContext *s) { TCGLabelQemuLdst *l = tcg_malloc(sizeof(*l)); + memset(l, 0, sizeof(*l)); QSIMPLEQ_INSERT_TAIL(&s->ldst_labels, l, next); return l;