From patchwork Tue Apr 11 01:04:37 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Richard Henderson X-Patchwork-Id: 672333 Delivered-To: patch@linaro.org Received: by 2002:a05:6000:184:0:0:0:0 with SMTP id p4csp539563wrx; Mon, 10 Apr 2023 18:19:07 -0700 (PDT) X-Google-Smtp-Source: AKy350axZmVcC7uEg63O4X1q6tLuDLcT2mf1Ye+2XT77pZOem8n7CfXcYQp97yKZUeKURpg90dQF X-Received: by 2002:a05:6214:248f:b0:5ea:9fc5:fcb1 with SMTP id gi15-20020a056214248f00b005ea9fc5fcb1mr13440073qvb.9.1681175947547; Mon, 10 Apr 2023 18:19:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681175947; cv=none; d=google.com; s=arc-20160816; b=eMfM4VuavtgIkM9K1Dpi3AgdbhY12XS+Jan4Fp8iIUTU9HZrBwQwxKEvKkh1bEFMXY GuJo2rQ5P/t6PMqnwI/s+tbR98jLPmnlyr5hg77dUWEIoykuxwbAVkoEbUOb4QTmwLhO nDZiErIA1w6bCki0Rn2c0xuAmTHeAzSx3it9ure3wLb7oPlrQn/h1a0+31iUGiPm9BeU icPOzy+PcrFivI6k6A0qD02ZRMHLQae5NAGEIaak32NJ5R+tWqhOEk4xIYWq+eqIj8cR 0Lyu9H91MVyPZ5PNVIZhrDgFojM8ewIog87K1UtC7NhzzxN2uvE8Pq9GDiyQA0SXzqLs rd8Q== 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=leho1tMn5Z21KXJD4HbKJmzISINykDM5lSvkGSOaikybsVoZwsHNoIcGlAOo6WXpLx bpSsWIvj7tyFnY867PIQVGTaMRk8X5SfG3WyaIpoQtaFH0D6wUmerYD40ruE71asegwN rfUrS14UFym6YCD0Vo3wRBdJgLpFvlpslgjFU2BkpScJp06DoQNv1VRQZNrbMAymx8rA Itb7lwkzUgKoXOqtOC/z7LYZ/3s+rKVBbKKMwA23f6fQHPd9csakrDUSb/MCCaot4ZM/ qZxvYMxyUiy/+XsyD7op/2BSZ0pgy1UKzmx/Pdcp60vKPZLMXKD3mYFFLd5JtFG6U/b6 ng2Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=lTKt+itC; 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 p11-20020a05622a00cb00b003d8088fc76esi8340636qtw.788.2023.04.10.18.19.07 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Mon, 10 Apr 2023 18:19:07 -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=lTKt+itC; 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 1pm2Sv-0005XL-Du; Mon, 10 Apr 2023 21:06:33 -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 1pm2Se-0004x5-QZ for qemu-devel@nongnu.org; Mon, 10 Apr 2023 21:06:17 -0400 Received: from mail-pl1-x62f.google.com ([2607:f8b0:4864:20::62f]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pm2Sb-0000Uh-E1 for qemu-devel@nongnu.org; Mon, 10 Apr 2023 21:06:16 -0400 Received: by mail-pl1-x62f.google.com with SMTP id q2so11146281pll.7 for ; Mon, 10 Apr 2023 18:06:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1681175172; 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=lTKt+itCjKNifxk7EQUs9xlVFhZ7sChSGzBy97f4HCVIG7myhJaKfztzuoouLfE6aw NJ0T9AJkFqi5RGF7N9eiVzRYx7W3CpzTN4F7tpX0CFBRiJB7LlJSuQyJJrRncdMj+ePL tqyHW2vxZD+rt3Wkk4oYN7VCWDwnbBr/4YuSF3rljD8jaV+mtd9zU+4nzCTzCkAQ57bX dn/iR1zsr9UJiKtvy9CjinIA6xrrf7KWhexJc3PPcbjSc+uZEVZuBdi/UZ8lT07KHjqe r64w7L7MKyw8Xh8dEq7PhwNtZ5eYeP8Y3ViL5csx0KVLTqVjvo524xn7D6xCSlW0dxNh Ym0A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1681175172; 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=BuUzTTmx+MDAxhPNzG08Wmrpk3MwZmG/Z/2ZCMooklKo6+j4VRlBZEOOzg4QbFm7yU exTdgWvhKSlv84WP4bWDwuFv2FSZXsgVHv5aaOtPJUqSDQtSjxp43tkLvd+/PmyW+XhS KvBEpwgs5eJPBN0hDba8lMQ/rtGMrXifCia/FVqgKM/41D18Xc2wsQgZyV09mHNPBrjB LhtK9YyNz9BVFx0sNLuHxGAip1BWGh2RdGF4VvRP2ye4aVHPN37CwqVsV3HUTyFvbjnj ruhcHgSyhPfwd0Xe70QY/Zj+S0EGsr4Ct21IlIY9hITTuZs+nG8Axsxs7ayEWi7tGdW8 bdfw== X-Gm-Message-State: AAQBX9cIupNA9K8HHwvsITSWQna2UO0lDuYcEGeRAf90t7ZnUnBQ14JM gGIsfSbtFKzoP9rskveyY6JqRCNHocC/ysofNzCYjg== X-Received: by 2002:a05:6a20:4282:b0:db:c5c:e0a3 with SMTP id o2-20020a056a20428200b000db0c5ce0a3mr20633728pzj.10.1681175172674; Mon, 10 Apr 2023 18:06:12 -0700 (PDT) Received: from stoup.WiFi.IPv4InfoBelow (h146.238.133.40.static.ip.windstream.net. [40.133.238.146]) by smtp.gmail.com with ESMTPSA id s10-20020a65690a000000b0051b0e564963sm1320291pgq.49.2023.04.10.18.06.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 10 Apr 2023 18:06:12 -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 v2 19/54] tcg: Clear TCGLabelQemuLdst on allocation Date: Mon, 10 Apr 2023 18:04:37 -0700 Message-Id: <20230411010512.5375-20-richard.henderson@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230411010512.5375-1-richard.henderson@linaro.org> References: <20230411010512.5375-1-richard.henderson@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2607:f8b0:4864:20::62f; envelope-from=richard.henderson@linaro.org; helo=mail-pl1-x62f.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;